Exception: Caesars::Config::ForceRefresh
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Caesars::Config::ForceRefresh
- Defined in:
- lib/caesars/config.rb
Overview
Used by postprocess to tell refresh to reload all configs.
Instance Attribute Summary collapse
-
#glasses ⇒ Object
readonly
The list of config types that need to be refreshed.
Instance Method Summary collapse
-
#initialize(*glasses) ⇒ ForceRefresh
constructor
A new instance of ForceRefresh.
- #message ⇒ Object
Constructor Details
#initialize(*glasses) ⇒ ForceRefresh
Returns a new instance of ForceRefresh.
27 |
# File 'lib/caesars/config.rb', line 27 def initialize(*glasses); @glasses = glasses; end |
Instance Attribute Details
#glasses ⇒ Object (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
26 27 28 |
# File 'lib/caesars/config.rb', line 26 def glasses @glasses end |
Instance Method Details
#message ⇒ Object
28 |
# File 'lib/caesars/config.rb', line 28 def ; "Force refresh of: #{@glasses.join(',')}"; end |