Class: Docka::Command
- Inherits:
-
Object
- Object
- Docka::Command
- Defined in:
- lib/docka/command.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#cli ⇒ Object
readonly
Returns the value of attribute cli.
Instance Method Summary collapse
-
#initialize(cli, *args) ⇒ Command
constructor
A new instance of Command.
- #options ⇒ Object
Constructor Details
#initialize(cli, *args) ⇒ Command
3 4 5 6 7 |
# File 'lib/docka/command.rb', line 3 def initialize(cli, *args) @cli = cli @args = args set_logger end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
18 19 20 |
# File 'lib/docka/command.rb', line 18 def args @args end |
#cli ⇒ Object (readonly)
Returns the value of attribute cli.
18 19 20 |
# File 'lib/docka/command.rb', line 18 def cli @cli end |
Instance Method Details
#options ⇒ Object
20 21 22 |
# File 'lib/docka/command.rb', line 20 def cli. end |