Method: Halcyon::Config::Paths#for

Defined in:
lib/halcyon/config/paths.rb

#for(key) ⇒ Object

Gets the path for the specified entity.

Examples:

Halcyon.paths.for(:log) #=> "/path/to/app/log/"


18
19
20
# File 'lib/halcyon/config/paths.rb', line 18

def for(key)
  self.paths[key] or raise ArgumentError.new("Path is not defined")
end