Module: Configuration::HandlerStatement::PathSpec
- Defined in:
- lib/httpimagestore/configuration/handler/statement.rb
Instance Attribute Summary collapse
-
#path_spec ⇒ Object
readonly
Returns the value of attribute path_spec.
Instance Method Summary collapse
-
#path_template ⇒ Object
this is more specific than GlobalConfiguration.
- #with_path_spec(path_spec) ⇒ Object
Instance Attribute Details
#path_spec ⇒ Object (readonly)
Returns the value of attribute path_spec.
39 40 41 |
# File 'lib/httpimagestore/configuration/handler/statement.rb', line 39 def path_spec @path_spec end |
Instance Method Details
#path_template ⇒ Object
this is more specific than GlobalConfiguration
47 48 49 |
# File 'lib/httpimagestore/configuration/handler/statement.rb', line 47 def path_template @global.paths[@path_spec] end |
#with_path_spec(path_spec) ⇒ Object
41 42 43 44 |
# File 'lib/httpimagestore/configuration/handler/statement.rb', line 41 def with_path_spec(path_spec) @path_spec = path_spec self end |