Class: Johnson::TraceMonkey::RubyLandScript

Inherits:
RubyLandProxy show all
Defined in:
lib/johnson/tracemonkey/ruby_land_proxy.rb

Overview

native

Instance Method Summary collapse

Methods inherited from RubyLandProxy

add_wrapper, apply_wrappers, insert_wrapper, #inspect, #method_missing, #size, #to_ary, wrappers

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Johnson::RubyLandProxy

Instance Method Details

#break(linenum, &block) ⇒ Object



11
12
13
14
# File 'lib/johnson/tracemonkey/ruby_land_proxy.rb', line 11

def break(linenum, &block)
  runtime.set_trap(self, linenum, block)
  runtime.traps << [self, linenum]
end