Class: Autoweb::Command::Base
- Inherits:
-
Object
- Object
- Autoweb::Command::Base
- Includes:
- UI
- Defined in:
- lib/autoweb/command.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
Instance Method Summary collapse
-
#initialize(args) ⇒ Base
constructor
A new instance of Base.
- #usage ⇒ Object
Methods included from UI
#ask, #ask_loop, #confirm, #display, #display2, #error, #format_date, #shell
Constructor Details
#initialize(args) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/autoweb/command.rb', line 8 def initialize(args) @args = args end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
6 7 8 |
# File 'lib/autoweb/command.rb', line 6 def args @args end |
Instance Method Details
#usage ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/autoweb/command.rb', line 12 def usage "=== Command List:\n automan console\n automan dbconsole\n automan help\n automan update\n \n\n" end |