Class: Churned::Commands::Console
- Inherits:
-
Churned::Command
- Object
- Churned::Command
- Churned::Commands::Console
- Defined in:
- lib/churned/commands/console.rb
Instance Method Summary collapse
- #execute(input: $stdin, output: $stdout) ⇒ Object
-
#initialize(options) ⇒ Console
constructor
A new instance of Console.
Methods inherited from Churned::Command
#command, #cursor, #db, #editor, #exec_exist?, #generator, #pager, #platform, #prompt, #screen, #which
Constructor Details
#initialize(options) ⇒ Console
Returns a new instance of Console.
8 9 10 |
# File 'lib/churned/commands/console.rb', line 8 def initialize() @options = end |
Instance Method Details
#execute(input: $stdin, output: $stdout) ⇒ Object
12 13 14 15 |
# File 'lib/churned/commands/console.rb', line 12 def execute(input: $stdin, output: $stdout) require "pry" Pry.start end |