Class: Phase::CLI::Command
- Inherits:
-
Object
- Object
- Phase::CLI::Command
- Extended by:
- Commander::Methods
- Includes:
- Util::Console
- Defined in:
- lib/phase/cli/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.
Methods included from Util::Console
Constructor Details
#initialize(args, options) ⇒ Command
Returns a new instance of Command.
12 13 14 15 |
# File 'lib/phase/cli/command.rb', line 12 def initialize(args, ) @args = args @options = end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
10 11 12 |
# File 'lib/phase/cli/command.rb', line 10 def args @args end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
10 11 12 |
# File 'lib/phase/cli/command.rb', line 10 def @options end |