Class: PhantomRenderer::Configuration

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

Class Method Summary collapse

Class Method Details

.configObject



95
96
97
# File 'lib/phantom_renderer.rb', line 95

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