Method: DDSL::Command::DSL::ClassMethods#command

Defined in:
lib/ddsl/command/dsl.rb

#command(name) ⇒ Object



36
37
38
39
40
# File 'lib/ddsl/command/dsl.rb', line 36

def command(name)
  singleton_class.class_eval do
    @command = name
  end
end