Class: Configuration::SourceStoreBase

Inherits:
Object
  • Object
show all
Includes:
ConditionalInclusion
Defined in:
lib/httpimagestore/configuration/handler.rb

Direct Known Subclasses

FileSourceStoreBase, S3SourceStoreBase

Instance Method Summary collapse

Methods included from ConditionalInclusion

#excluded?, #included?, #inclusion_matcher

Constructor Details

#initialize(global, image_name, matcher) ⇒ SourceStoreBase

Returns a new instance of SourceStoreBase.



218
219
220
221
222
223
224
225
226
# File 'lib/httpimagestore/configuration/handler.rb', line 218

def initialize(global, image_name, matcher)
	@global = global
	@image_name = image_name
	@locals = {}

	inclusion_matcher matcher
	local :imagename, @image_name # deprecated
	local :image_name, @image_name
end