Module: Breadcrumbs::Entrance::ClassMethods

Defined in:
lib/redis-breadcrumbs/entrance.rb

Instance Method Summary collapse

Instance Method Details

#clean!(object = UnspecializedDummyObject.new) ⇒ Object



24
25
26
# File 'lib/redis-breadcrumbs/entrance.rb', line 24

def clean! object=UnspecializedDummyObject.new
  new(object).tap(&:clean!)
end

#reset!(object = UnspecializedDummyObject.new) ⇒ Object



20
21
22
# File 'lib/redis-breadcrumbs/entrance.rb', line 20

def reset! object=UnspecializedDummyObject.new
  new(object).tap(&:reset!)
end

#track!(object = UnspecializedDummyObject.new) ⇒ Object



16
17
18
# File 'lib/redis-breadcrumbs/entrance.rb', line 16

def track! object=UnspecializedDummyObject.new
  new(object).tap(&:track!)
end