Class: AssetSync::Config::FogPublicValue Private
- Inherits:
-
Object
- Object
- AssetSync::Config::FogPublicValue
- Defined in:
- lib/asset_sync/config.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#initialize(val) ⇒ FogPublicValue
constructor
private
A new instance of FogPublicValue.
- #to_bool ⇒ Object private
- #use_explicit_value? ⇒ Boolean private
Constructor Details
#initialize(val) ⇒ FogPublicValue
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of FogPublicValue.
352 353 354 |
# File 'lib/asset_sync/config.rb', line 352 def initialize(val) @value = val end |
Instance Method Details
#to_bool ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
360 361 362 |
# File 'lib/asset_sync/config.rb', line 360 def to_bool !@value.nil? end |
#use_explicit_value? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
356 357 358 |
# File 'lib/asset_sync/config.rb', line 356 def use_explicit_value? @value.to_s != "default" end |