Module: Configuration::HandlerStatement::PathSpec

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#path_specObject (readonly)

Returns the value of attribute path_spec.



210
211
212
# File 'lib/httpimagestore/configuration/handler.rb', line 210

def path_spec
  @path_spec
end

Instance Method Details

#initialize(global, *args) ⇒ Object



212
213
214
215
# File 'lib/httpimagestore/configuration/handler.rb', line 212

def initialize(global, *args)
	@path_spec = args.pop
	super(global, *args)
end

#path_templateObject



217
218
219
# File 'lib/httpimagestore/configuration/handler.rb', line 217

def path_template
	@global.paths[@path_spec]
end