module Bow::Memorable
Public Instance Methods
applied?()
click to toggle source
# File lib/bow/memorable.rb, line 17 def applied? task_history.applied?(name) end
apply()
click to toggle source
# File lib/bow/memorable.rb, line 13 def apply task_history.apply(name) end
flush_history()
click to toggle source
# File lib/bow/memorable.rb, line 9 def flush_history task_history.flush end
reset()
click to toggle source
# File lib/bow/memorable.rb, line 29 def reset task_history.reset(name) end
revert()
click to toggle source
# File lib/bow/memorable.rb, line 21 def revert task_history.revert(name) end
reverted?()
click to toggle source
# File lib/bow/memorable.rb, line 25 def reverted? task_history.reverted?(name) end
task_history()
click to toggle source
# File lib/bow/memorable.rb, line 5 def task_history @task_history ||= Locker.load end