Class: Configuration::HandlerStatement
- Inherits:
-
Object
- Object
- Configuration::HandlerStatement
- Defined in:
- lib/httpimagestore/configuration/handler.rb
Direct Known Subclasses
Identify, OutputMultiBase::OutputSpec, SourceStoreBase, Thumbnail, Thumbnail::ThumbnailSpec
Defined Under Namespace
Modules: ConditionalInclusion, ImageName, PathSpec
Instance Attribute Summary collapse
-
#config_locals ⇒ Object
readonly
Returns the value of attribute config_locals.
Instance Method Summary collapse
- #config_local(name, value) ⇒ Object
-
#initialize(global, *args) ⇒ HandlerStatement
constructor
A new instance of HandlerStatement.
- #path_template(path_spec) ⇒ Object
Constructor Details
#initialize(global, *args) ⇒ HandlerStatement
Returns a new instance of HandlerStatement.
246 247 248 249 250 |
# File 'lib/httpimagestore/configuration/handler.rb', line 246 def initialize(global, *args) @global = global @config_locals = {} @module_args = args end |
Instance Attribute Details
#config_locals ⇒ Object (readonly)
Returns the value of attribute config_locals.
252 253 254 |
# File 'lib/httpimagestore/configuration/handler.rb', line 252 def config_locals @config_locals end |
Instance Method Details
#config_local(name, value) ⇒ Object
253 254 255 |
# File 'lib/httpimagestore/configuration/handler.rb', line 253 def config_local(name, value) @config_locals[name] = value end |
#path_template(path_spec) ⇒ Object
257 258 259 |
# File 'lib/httpimagestore/configuration/handler.rb', line 257 def path_template(path_spec) @global.paths[path_spec] end |