Class: ZoneDelete
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
#add_arg, #add_cmd, #add_flow, #add_flow_from_usage, #add_input, #add_option, #add_options, #command_name?, #create_args, #create_flows, #get_args_used, #init, #initialize, #run, #show_help, #show_help_option
Constructor Details
This class inherits a constructor from Command
Instance Method Details
#execute(args, rest) ⇒ Object
31 32 33 34 |
# File 'lib/zone.rb', line 31 def execute(args, rest) zone = @input["zone"] zone.delete end |