Module: Enumerable
- Included in:
- Sequel::Dataset
- Defined in:
- lib/sequel/core_ext.rb
Overview
Enumerable extensions.
Instance Method Summary collapse
-
#send_each(sym, *args) ⇒ Object
Invokes the specified method for each item, along with the supplied arguments.
Instance Method Details
#send_each(sym, *args) ⇒ Object
Invokes the specified method for each item, along with the supplied arguments.
5 6 7 |
# File 'lib/sequel/core_ext.rb', line 5 def send_each(sym, *args) each {|i| i.send(sym, *args)} end |