Top Level Namespace

Defined Under Namespace

Modules: Caco, Cell, Declarative

Instance Method Summary collapse

Instance Method Details

#trbreaks(klass = nil) ⇒ Object



109
110
111
112
113
114
115
# File 'lib/caco.rb', line 109

def trbreaks(klass = nil)
  bind_to = klass.nil? ? self.class : klass
  bind_to.instance_methods(false).each do |m|
    Pry::Byebug::Breakpoints.add_method("#{bind_to}##{m}")
  end
  true
end