Class: Pry

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec-interactive/pry.rb

Instance Method Summary collapse

Instance Method Details

#eval(line, options = {}) ⇒ Object



6
7
8
9
10
# File 'lib/rspec-interactive/pry.rb', line 6

def eval(line, options = {})
  RSpec::Interactive.eval(line, options) do
    old_eval(line, options)
  end
end

#old_evalObject



4
# File 'lib/rspec-interactive/pry.rb', line 4

alias_method :old_eval, :eval