Class: LSL::Mapping

Inherits:
Object show all
Defined in:
lib/lsl/mapping/mapping.rb

Instance Method Summary collapse

Instance Method Details

#method(cmd) ⇒ Object



22
23
24
25
26
27
28
29
30
# File 'lib/lsl/mapping/mapping.rb', line 22

def method(cmd)
  if cmd.ex == 'remote_call'
    RemoteCall.new
  elsif cmd.ex == 'abc'
    RakeRunner.new
  else
    nil
  end
end