Class: Churned::Commands::Console

Inherits:
Churned::Command show all
Defined in:
lib/churned/commands/console.rb

Instance Method Summary collapse

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)
  @options = 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