Top Level Namespace

Defined Under Namespace

Modules: ActiveSupport, Breakpoint, ClassInheritableAttributes, DRb, Dependencies, Enumerable, IRB Classes: Array, Binding, CGI, Class, Date, Exception, FalseClass, Hash, HashWithIndifferentAccess, Integer, Logger, MissingSourceFile, Module, NilClass, Numeric, Object, OrderedOptions, Range, String, Time, TimeZone, TrueClass

Instance Method Summary collapse

Instance Method Details

#assert(&block) ⇒ Object

See Breakpoint.assert


519
520
521
522
523
# File 'lib/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/active_support/breakpoint.rb', line 512

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