Sha256: 08e8386131bd32ada5a7c3fd8c4f6ecd3c1573149cfb42541ea8c2e95919f4b3
Contents?: true
Size: 404 Bytes
Versions: 38
Compression:
Stored size: 404 Bytes
Contents
require File.join File.dirname(__FILE__), 'fake_repl' Redcar::REPL::ReplMirror.class_eval do def evaluator @eval ||= Redcar::REPL::FakeEvaluator.new end def grammar_name "Plain Text" end def format_error(e) "An error was thrown: #{e}" end end Before do Redcar::REPL.storage['command_history'] = {} end def current_tab Redcar.app.focussed_window.focussed_notebook_tab end
Version data entries
38 entries across 38 versions & 2 rubygems