Class: Fixingthenet::Installer::Command
- Inherits:
-
Object
- Object
- Fixingthenet::Installer::Command
- Defined in:
- lib/fixingthenet/installer/command.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(_options, args = []) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(_options, args = []) ⇒ Command
Returns a new instance of Command.
8 9 10 11 12 13 14 15 16 |
# File 'lib/fixingthenet/installer/command.rb', line 8 def initialize(, args=[]) = @args=args unless args.empty? @app=App.new() puts "options: #{options}" if [:verbose] command end |
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app.
6 7 8 |
# File 'lib/fixingthenet/installer/command.rb', line 6 def app @app end |
#args ⇒ Object (readonly)
Returns the value of attribute args.
4 5 6 |
# File 'lib/fixingthenet/installer/command.rb', line 4 def args @args end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/fixingthenet/installer/command.rb', line 5 def end |