Top Level Namespace
Defined Under Namespace
Modules: ActiveSupport, Breakpoint, Builder, ClassInheritableAttributes, DRb, Dependencies, Enumerable, IRB, Kernel, Monetra, Reloadable, Test Classes: Array, BigDecimal, Binding, CGI, Class, Date, Exception, FalseClass, Fixnum, FlexMock, Hash, HashWithIndifferentAccess, Integer, Logger, MissingSourceFile, Module, NameError, NilClass, Numeric, Object, OrderedOptions, Pathname, Proc, Range, String, Symbol, Time, TimeZone, TrueClass, XmlSimple
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
519 520 521 522 523 |
# File 'lib/monetra/active_support/breakpoint.rb', line 519 def assert(&block) Binding.of_caller do |context| Breakpoint.assert(context, &block) end end |
#breakpoint(id = nil, &block) ⇒ Object
See Breakpoint.breakpoint
512 513 514 515 516 |
# File 'lib/monetra/active_support/breakpoint.rb', line 512 def breakpoint(id = nil, &block) Binding.of_caller do |context| Breakpoint.breakpoint(id, context, &block) end end |