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

Version Path
redcar-0.13 plugins/repl/features/support/env.rb
redcar-dev-0.13.5dev plugins/repl/features/support/env.rb
redcar-dev-0.13.4dev plugins/repl/features/support/env.rb
redcar-dev-0.13.3dev plugins/repl/features/support/env.rb
redcar-dev-0.13.2dev plugins/repl/features/support/env.rb
redcar-dev-0.13.1dev plugins/repl/features/support/env.rb
redcar-0.12.1 plugins/repl/features/support/env.rb
redcar-dev-0.13.0dev plugins/repl/features/support/env.rb
redcar-0.12 plugins/repl/features/support/env.rb
redcar-dev-0.12.27dev plugins/repl/features/support/env.rb
redcar-dev-0.12.26dev plugins/repl/features/support/env.rb
redcar-dev-0.12.25dev plugins/repl/features/support/env.rb
redcar-dev-0.12.24dev plugins/repl/features/support/env.rb
redcar-dev-0.12.23dev plugins/repl/features/support/env.rb
redcar-dev-0.12.22dev plugins/repl/features/support/env.rb
redcar-dev-0.12.21dev plugins/repl/features/support/env.rb
redcar-dev-0.12.20dev plugins/repl/features/support/env.rb
redcar-dev-0.12.19dev plugins/repl/features/support/env.rb
redcar-dev-0.12.18dev plugins/repl/features/support/env.rb
redcar-dev-0.12.17dev plugins/repl/features/support/env.rb