Class: Daemon::Command::BaseCommand Deprecated
- Inherits:
-
Object
- Object
- Daemon::Command::BaseCommand
- Includes:
- UserInterface
- Defined in:
- lib/onapp/engine/command/base_command.rb
Overview
Deprecated.
Created for convenience Aggregates common methods of all commands
Direct Known Subclasses
Instance Attribute Summary (collapse)
-
- (Object) options
readonly
Returns the value of attribute options.
Attributes included from UserInterface
Instance Method Summary (collapse)
-
- (BaseCommand) initialize(options, out = $stdout, err = $stderr)
constructor
A new instance of BaseCommand.
Methods included from UserInterface
Constructor Details
- (BaseCommand) initialize(options, out = $stdout, err = $stderr)
Returns a new instance of BaseCommand
13 14 15 16 17 |
# File 'lib/onapp/engine/command/base_command.rb', line 13 def initialize(, out = $stdout, err = $stderr) @options = @out = out @err = err end |
Instance Attribute Details
- (Object) options (readonly)
Returns the value of attribute options
11 12 13 |
# File 'lib/onapp/engine/command/base_command.rb', line 11 def @options end |