Exception: Caesars::Config::ForceRefresh

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/caesars.rb

Overview

Used by postprocess to tell refresh to reload all configs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*glasses) ⇒ ForceRefresh

Returns a new instance of ForceRefresh.



603
# File 'lib/caesars.rb', line 603

def initialize(*glasses); @glasses = glasses; end

Instance Attribute Details

#glassesObject (readonly)

The list of config types that need to be refreshed. This is currently for informational-purposes only. It does not affect which files/config types are refreshed. See Caesars::Config::ForcedRefresh



602
603
604
# File 'lib/caesars.rb', line 602

def glasses
  @glasses
end

Instance Method Details

#messageObject



604
# File 'lib/caesars.rb', line 604

def message; "Force refresh of: #{@glasses.join(',')}"; end