Class: Configuration::Thumbnail::ThumbnailSpec::Spec

Inherits:
RubyStringTemplate show all
Defined in:
lib/httpimagestore/configuration/thumbnailer.rb

Instance Method Summary collapse

Methods inherited from RubyStringTemplate

#render

Constructor Details

#initialize(image_name, sepc_name, template) ⇒ Spec

Returns a new instance of Spec.



60
61
62
63
64
# File 'lib/httpimagestore/configuration/thumbnailer.rb', line 60

def initialize(image_name, sepc_name, template)
	super(template) do |locals, name|
		locals[name] or raise NoValueForSpecTemplatePlaceholerError.new(image_name, sepc_name, name, template)
	end
end