Class: Compendium::Params
- Inherits:
-
OpenHash
- Object
- ActiveSupport::HashWithIndifferentAccess
- OpenHash
- Compendium::Params
- Defined in:
- lib/compendium/params.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(hash = {}, options = {}) ⇒ Params
constructor
A new instance of Params.
Methods inherited from OpenHash
Constructor Details
#initialize(hash = {}, options = {}) ⇒ Params
Returns a new instance of Params.
10 11 12 13 |
# File 'lib/compendium/params.rb', line 10 def initialize(hash = {}, = {}) @options = super((hash)) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Compendium::OpenHash
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/compendium/params.rb', line 8 def @options end |