Sha256: 52e2f9fae164b9b09c4c945365251afaabebc9f6370ba00f1918ab313f108e93
Contents?: true
Size: 631 Bytes
Versions: 58
Compression:
Stored size: 631 Bytes
Contents
module Brightbox module Config # This module holds a very simple set of change / dirty tracking methods to # keep track of when the config or any sub part (client config sections) # have been changed to prevent excess saving # module Dirty # @return [Boolean] +true+ if config has been modified since loading def dirty? !!@dirty end # Mark the config as being dirty # def dirty! @dirty = true end # Remove that the config is dirty because it has been saved to disk # def clean_up @dirty = false end end end end
Version data entries
58 entries across 58 versions & 1 rubygems