Module: Kernel
- Defined in:
- lib/live_ast/replace_eval.rb,
lib/live_ast/ast_eval.rb,
lib/live_ast/ast_load.rb,
lib/live_ast/replace_load.rb,
lib/live_ast/replace_raise.rb,
lib/live_ast/replace_caller.rb
Overview
Override for Kernel#eval and Kernel.eval
Class Method Summary collapse
Instance Method Summary collapse
- #eval(string, binding = nil, filename = nil, lineno = nil) ⇒ Object
- #live_ast_original_eval ⇒ Object
- #live_ast_original_load ⇒ Object
Class Method Details
.live_ast_original_singleton_eval ⇒ Object
51 |
# File 'lib/live_ast/replace_eval.rb', line 51 alias live_ast_original_singleton_eval eval |
Instance Method Details
#eval(string, binding = nil, filename = nil, lineno = nil) ⇒ Object
56 57 58 59 60 61 |
# File 'lib/live_ast/replace_eval.rb', line 56 def eval(string, binding = nil, filename = nil, lineno = nil) LiveAST.eval( string, binding || Binding.of_caller(1), filename, lineno) end |
#live_ast_original_eval ⇒ Object
54 |
# File 'lib/live_ast/replace_eval.rb', line 54 alias live_ast_original_eval eval |
#live_ast_original_load ⇒ Object
6 |
# File 'lib/live_ast/replace_load.rb', line 6 alias live_ast_original_load load |