Class: PhantomRenderer::Configuration
- Inherits:
-
Object
- Object
- PhantomRenderer::Configuration
- Defined in:
- lib/phantom_renderer.rb
Class Method Summary collapse
Class Method Details
.config ⇒ Object
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 |