Class: Rockette::Commands::Interactive
- Inherits:
-
Rockette::Command
- Object
- Rockette::Command
- Rockette::Commands::Interactive
- Includes:
- TextHelper
- Defined in:
- lib/rockette/commands/interactive.rb
Overview
Interactive Rockette
Instance Method Summary collapse
- #execute(input: $stdin, output: $stdout) ⇒ Object
-
#initialize(options) ⇒ Interactive
constructor
A new instance of Interactive.
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) ⇒ Interactive
Returns a new instance of Interactive.
11 12 13 14 |
# File 'lib/rockette/commands/interactive.rb', line 11 def initialize() super() @options = end |
Instance Method Details
#execute(input: $stdin, output: $stdout) ⇒ Object
16 17 18 19 20 21 |
# File 'lib/rockette/commands/interactive.rb', line 16 def execute(input: $stdin, output: $stdout) output.puts check_input(input) controller = Rockette::Controller.new controller.launch! end |