Top Level Namespace
Defined Under Namespace
Modules: Breakpoint, DRb, IRB Classes: Binding, Continuation
Instance Method Summary collapse
-
#assert(&block) ⇒ Object
See Breakpoint.assert.
-
#breakpoint(id = nil, &block) ⇒ Object
See Breakpoint.breakpoint.
Instance Method Details
#assert(&block) ⇒ Object
See Breakpoint.assert
570 571 572 573 574 |
# File 'lib/breakpoint.rb', line 570 def assert(&block) Binding.of_caller do |context| Breakpoint.assert(context, &block) end end |
#breakpoint(id = nil, &block) ⇒ Object
See Breakpoint.breakpoint
563 564 565 566 567 |
# File 'lib/breakpoint.rb', line 563 def breakpoint(id = nil, &block) Binding.of_caller do |context| Breakpoint.breakpoint(id, context, &block) end end |