Class: Method
Instance Method Summary collapse
Instance Method Details
#arity_match?(collection) ⇒ Boolean
2 3 4 |
# File 'lib/core_ext/method.rb', line 2 def arity_match?(collection) arity == -1 or arity == collection.length end |
2 3 4 |
# File 'lib/core_ext/method.rb', line 2 def arity_match?(collection) arity == -1 or arity == collection.length end |