Module: Configuration::HandlerStatement::PathSpec

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#path_specObject (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_templateObject

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