class BacklogReporter::FlagFile
Public Class Methods
new(path)
click to toggle source
# File lib/backlog_reporter.rb, line 64 def initialize path @path = path @exists = File.exists? path set false end
Public Instance Methods
set(value)
click to toggle source
# File lib/backlog_reporter.rb, line 70 def set value if @exists != value FileUtils.send((value ? :touch : :rm_f), @path) @exists = value end end