Class: Trundle::NamespacedAttributes
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Trundle::NamespacedAttributes
- Defined in:
- lib/trundle/namespaced_attributes.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ NamespacedAttributes
constructor
A new instance of NamespacedAttributes.
- #to_h ⇒ Object
Constructor Details
#initialize(attributes = {}) ⇒ NamespacedAttributes
Returns a new instance of NamespacedAttributes.
2 3 4 |
# File 'lib/trundle/namespaced_attributes.rb', line 2 def initialize(attributes = {}) super(normalize_attributes(attributes)) end |