Top Level Namespace

Defined Under Namespace

Modules: ActiveSupport, Breakpoint, Builder, ClassInheritableAttributes, DRb, Dependencies, Enumerable, IRB, Kernel, Reloadable, Test Classes: Array, BigDecimal, Binding, CGI, Class, Date, Exception, FalseClass, Fixnum, Hash, HashWithIndifferentAccess, Integer, Logger, MissingSourceFile, Module, NameError, NilClass, Numeric, Object, OrderedOptions, Pathname, Proc, Range, String, Symbol, Time, TimeZone, TrueClass, XmlSimple

Instance Method Summary collapse

Instance Method Details

#assert(&block) ⇒ Object

See Breakpoint.assert



524
525
526
527
528
# File 'lib/active_support/breakpoint.rb', line 524

def assert(&block)
  Binding.of_caller do |context|
    Breakpoint.assert(context, &block)
  end
end

#breakpoint(id = nil, &block) ⇒ Object

See Breakpoint.breakpoint



517
518
519
520
521
# File 'lib/active_support/breakpoint.rb', line 517

def breakpoint(id = nil, &block)
  Binding.of_caller do |context|
    Breakpoint.breakpoint(id, context, &block)
  end
end