Class: Configuration::Thumbnail::ThumbnailSpec::Spec
- Inherits:
-
RubyStringTemplate
- Object
- RubyStringTemplate
- Configuration::Thumbnail::ThumbnailSpec::Spec
- Defined in:
- lib/httpimagestore/configuration/thumbnailer.rb
Instance Method Summary collapse
-
#initialize(image_name, sepc_name, template) ⇒ Spec
constructor
A new instance of Spec.
Methods inherited from RubyStringTemplate
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 |