module Ripl::Johnson
Constants
- VERSION
Public Class Methods
runtime()
click to toggle source
# File lib/ripl/johnson.rb, line 16 def self.runtime @runtime ||= ::Johnson::Runtime.new end
Public Instance Methods
before_loop()
click to toggle source
Calls superclass method
# File lib/ripl/johnson.rb, line 7 def before_loop super Ripl::Johnson.runtime.evaluate(Johnson::CLI::JS) end
loop_eval(expression)
click to toggle source
# File lib/ripl/johnson.rb, line 12 def loop_eval(expression) Ripl::Johnson.runtime.evaluate(expression) end