kit-contract edge
RubyHelpers
module
Kit::Contract::Services::RubyHelpers
View Source
Kit::Contract::Services::RubyHelpers
Helpers methods to manipulate function signatures. This should be part of the language in one form or another.
Link to this section Summary ⚠️ Private APIs are currently hidden.
Link to this section Class methods 5
Given a callable, attempt to transform args to make it compatible with the signature
Given a callable, get its parameters data
Given a hash and some callable parameters, attempts to generate a compatible version of that hash.
Given some callable parameters, attempt to generate the array we would have gotten when using a single splat.
Given some callable parameters, generate the a callable definition