Class: Vx::Builder::BuildConfiguration::Cache

Inherits:
Object
  • Object
show all
Defined in:
lib/vx/builder/build_configuration/cache.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#attributesObject (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

#directoriesObject



12
13
14
# File 'lib/vx/builder/build_configuration/cache.rb', line 12

def directories
  @attributes["directories"]
end

#enabled?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/vx/builder/build_configuration/cache.rb', line 16

def enabled?
  @attributes["enabled"]
end