Method: Cloudit::Command::Base#execute
- Defined in:
- lib/cloudit/command/base.rb
#execute ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/cloudit/command/base.rb', line 22 def execute puts @method if @method.nil? index elsif self.class::VALID_METHODS.include?(@method) self.send(@method) else invalid_method end end |