Class: MilkTea::PackageSourceResolver::Source

Inherits:
Data
  • Object
show all
Defined in:
lib/milk_tea/packages/source_resolver.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#identityObject (readonly)

Returns the value of attribute identity

Returns:

  • (Object)

    the current value of identity



141
142
143
# File 'lib/milk_tea/packages/source_resolver.rb', line 141

def identity
  @identity
end

#local_rootObject (readonly)

Returns the value of attribute local_root

Returns:

  • (Object)

    the current value of local_root



141
142
143
# File 'lib/milk_tea/packages/source_resolver.rb', line 141

def local_root
  @local_root
end

Instance Method Details

#cache_keyObject



150
151
152
# File 'lib/milk_tea/packages/source_resolver.rb', line 150

def cache_key
  identity.cache_key
end

#cacheable?Boolean

Returns:

  • (Boolean)


154
155
156
# File 'lib/milk_tea/packages/source_resolver.rb', line 154

def cacheable?
  identity.cacheable?
end

#kindObject



142
143
144
# File 'lib/milk_tea/packages/source_resolver.rb', line 142

def kind
  identity.kind
end

#lock_attributesObject



146
147
148
# File 'lib/milk_tea/packages/source_resolver.rb', line 146

def lock_attributes
  identity.lock_attributes
end