Class: Exos::Commands::Command

Inherits:
Object
  • Object
show all
Extended by:
Commander::Methods
Defined in:
lib/exos/commands.rb

Direct Known Subclasses

Keys, Logs, SSH, Status

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args, options) ⇒ Command

Returns a new instance of Command.



11
12
13
14
# File 'lib/exos/commands.rb', line 11

def initialize(args, options)
  @args = args
  @options = options
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



9
10
11
# File 'lib/exos/commands.rb', line 9

def args
  @args
end

#optionsObject (readonly)

Returns the value of attribute options.



9
10
11
# File 'lib/exos/commands.rb', line 9

def options
  @options
end