Class: WallInterface

Inherits:
Object
  • Object
show all
Defined in:
lib/wall_interface.rb

Constant Summary collapse

BUILDERS =
{"merge" => WallMerger,
"scale" => WallScaler}

Instance Method Summary collapse

Instance Method Details

#run(command, arguments) ⇒ Object



7
8
9
# File 'lib/wall_interface.rb', line 7

def run(command, arguments)
  BUILDERS[command].new.send(command, *arguments)
end