Class: PhantomRenderer::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/phantom_renderer.rb

Class Method Summary collapse

Class Method Details

.configObject



99
100
101
# File 'lib/phantom_renderer.rb', line 99

def config
  @config ||= HashWithIndifferentAccess.new(YAML.load_file(Rails.root.join("config/phantom_renderer.yml"))[Rails.env])
end