Module: RendertronRuby::Configuration
- Included in:
- RendertronRuby
- Defined in:
- lib/rendertron_ruby/configuration.rb
Constant Summary collapse
- VALID_OPTIONS =
[ :host, :scheme, :render_path, :ss_path ]
Instance Method Summary collapse
Instance Method Details
#configure {|_self| ... } ⇒ Object
9 10 11 |
# File 'lib/rendertron_ruby/configuration.rb', line 9 def configure yield self end |
#options ⇒ Object
13 14 15 16 17 |
# File 'lib/rendertron_ruby/configuration.rb', line 13 def VALID_OPTIONS.inject({}) do |option, key| option.merge!(key => send(key)) end end |