Class: LumiaServer::CLI::Command
- Inherits:
-
Object
- Object
- LumiaServer::CLI::Command
- Defined in:
- lib/lumia-server/command/command.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(args, options) ⇒ Command
constructor
A new instance of Command.
- #run ⇒ Object
Constructor Details
#initialize(args, options) ⇒ Command
Returns a new instance of Command.
14 15 16 17 |
# File 'lib/lumia-server/command/command.rb', line 14 def initialize(args, ) @args = args @options = end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
11 12 13 |
# File 'lib/lumia-server/command/command.rb', line 11 def args @args end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
12 13 14 |
# File 'lib/lumia-server/command/command.rb', line 12 def @options end |
Instance Method Details
#run ⇒ Object
19 |
# File 'lib/lumia-server/command/command.rb', line 19 def run; end |