Module: Enumerable

Defined in:
lib/developwithpassion_expander/enumerable_extensions.rb

Instance Method Summary collapse

Instance Method Details

#process_all_items_using(visitor) ⇒ Object



2
3
4
# File 'lib/developwithpassion_expander/enumerable_extensions.rb', line 2

def process_all_items_using(visitor)
  self.each{|item| visitor.run_using(item)}
end