Class: Method
- Inherits:
-
Object
- Object
- Method
- Defined in:
- lib/core_ext/method.rb
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 |