Class: ROM::Files::Commands::Create

Inherits:
Commands::Create
  • Object
show all
Defined in:
lib/rom/files/commands/create.rb

Instance Method Summary collapse

Instance Method Details

#execute(tuples) ⇒ Object

Parameters:

  • tuples (Array<Hash>)


12
13
14
# File 'lib/rom/files/commands/create.rb', line 12

def execute(tuples)
  tuples.each { |tuple| relation << tuple }
end