module Ripl::Irb
Constants
- VERSION
Public Instance Methods
before_loop()
click to toggle source
Calls superclass method
# File lib/ripl/irb.rb, line 7 def before_loop mock_irb super end
mock_irb()
click to toggle source
# File lib/ripl/irb.rb, line 12 def mock_irb mod = Object.const_set(:IRB, Module.new).extend(MockIrb) conf = {}.extend ConvertIrb class <<mod; self end.send(:define_method, :conf) { conf } end