Class: Spark::Command::Glom

Inherits:
Object
  • Object
show all
Defined in:
lib/spark/command/basic.rb

Overview


Glom

Instance Method Summary collapse

Instance Method Details

#lazy_run(iterator) ⇒ Object



111
112
113
# File 'lib/spark/command/basic.rb', line 111

def lazy_run(iterator, *)
  run(iterator.to_a)
end

#run(iterator) ⇒ Object



107
108
109
# File 'lib/spark/command/basic.rb', line 107

def run(iterator, *)
  [iterator]
end