Class: Balboa::CLI::Defaults
- Inherits:
-
Object
- Object
- Balboa::CLI::Defaults
- Defined in:
- lib/balboa/cli/defaults.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Defaults
constructor
A new instance of Defaults.
- #prompt ⇒ Object
Constructor Details
#initialize ⇒ Defaults
Returns a new instance of Defaults.
13 14 15 16 |
# File 'lib/balboa/cli/defaults.rb', line 13 def initialize @config = {} @cli = HighLine.new end |
Class Method Details
.prompt ⇒ Object
9 10 11 |
# File 'lib/balboa/cli/defaults.rb', line 9 def self.prompt new.prompt end |
Instance Method Details
#prompt ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'lib/balboa/cli/defaults.rb', line 18 def prompt prompt_attributes prompt_schedule create_file @config end |