Class: Vx::Builder::BuildConfiguration::Cache
- Inherits:
-
Object
- Object
- Vx::Builder::BuildConfiguration::Cache
- Defined in:
- lib/vx/builder/build_configuration/cache.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
Instance Method Summary collapse
- #directories ⇒ Object
- #enabled? ⇒ Boolean
-
#initialize(new_cache) ⇒ Cache
constructor
A new instance of Cache.
Constructor Details
#initialize(new_cache) ⇒ Cache
Returns a new instance of Cache.
8 9 10 |
# File 'lib/vx/builder/build_configuration/cache.rb', line 8 def initialize(new_cache) normalize_attributes(new_cache) end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
6 7 8 |
# File 'lib/vx/builder/build_configuration/cache.rb', line 6 def attributes @attributes end |
Instance Method Details
#directories ⇒ Object
12 13 14 |
# File 'lib/vx/builder/build_configuration/cache.rb', line 12 def directories @attributes["directories"] end |
#enabled? ⇒ Boolean
16 17 18 |
# File 'lib/vx/builder/build_configuration/cache.rb', line 16 def enabled? @attributes["enabled"] end |