Module: HighriseAssist::Command
- Defined in:
- lib/highrise_assist/command.rb,
lib/highrise_assist/command/base.rb,
lib/highrise_assist/command/export.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.defined?(name) ⇒ Boolean
8 9 10 |
# File 'lib/highrise_assist/command.rb', line 8 def defined?(name) names.include?(name) end |
.names ⇒ Object
4 5 6 |
# File 'lib/highrise_assist/command.rb', line 4 def names @names ||= [] end |
.run(name, options) ⇒ Object
12 13 14 |
# File 'lib/highrise_assist/command.rb', line 12 def run(name, ) self.const_get(name.classify).new().run end |