Class: Rockette::Commands::Config
- Inherits:
-
Rockette::Command
- Object
- Rockette::Command
- Rockette::Commands::Config
- Includes:
- TextHelper
- Defined in:
- lib/rockette/commands/config.rb
Overview
Configure Rockette
Instance Method Summary collapse
- #execute(input: $stdin, output: $stdout) ⇒ Object
-
#initialize(options) ⇒ Config
constructor
A new instance of Config.
Methods included from TextHelper
#bail, #check_input, #file_not_found, #no_rockette_dir, #padder
Methods inherited from Rockette::Command
#command, #cursor, #editor, #exec_exist?, #generator, #pager, #platform, #prompt, #screen, #which
Constructor Details
#initialize(options) ⇒ Config
Returns a new instance of Config.
11 12 13 14 |
# File 'lib/rockette/commands/config.rb', line 11 def initialize() super() @options = end |
Instance Method Details
#execute(input: $stdin, output: $stdout) ⇒ Object
16 17 18 19 20 |
# File 'lib/rockette/commands/config.rb', line 16 def execute(input: $stdin, output: $stdout) # Command logic goes here ... output.puts "Coming soon..." check_input(input) end |