Module: Enumerable

Included in:
Sequel::Dataset
Defined in:
lib/sequel_core/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#send_each(sym, *args) ⇒ Object

Invokes the specified method for each item, along with the supplied arguments.



28
29
30
# File 'lib/sequel_core/core_ext.rb', line 28

def send_each(sym, *args)
  each{|i| i.send(sym, *args)}
end