Module: Configuration::HandlerStatement::ImageName

Defined in:
lib/httpimagestore/configuration/handler/statement.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#image_nameObject (readonly)

Returns the value of attribute image_name.



17
18
19
# File 'lib/httpimagestore/configuration/handler/statement.rb', line 17

def image_name
  @image_name
end

Instance Method Details

#with_image_name(image_name) ⇒ Object



19
20
21
22
23
24
# File 'lib/httpimagestore/configuration/handler/statement.rb', line 19

def with_image_name(image_name)
	@image_name = image_name
	config_local :imagename, @image_name # deprecated
	config_local :image_name, @image_name
	self
end