Class: Megam::Mixins::Assemblies
- Inherits:
-
Object
- Object
- Megam::Mixins::Assemblies
- Defined in:
- lib/megam/mixins/assemblies.rb
Instance Attribute Summary collapse
-
#assembly ⇒ Object
readonly
Returns the value of attribute assembly.
Instance Method Summary collapse
-
#initialize(params) ⇒ Assemblies
constructor
A new instance of Assemblies.
- #to_hash ⇒ Object
Constructor Details
#initialize(params) ⇒ Assemblies
22 23 24 |
# File 'lib/megam/mixins/assemblies.rb', line 22 def initialize(params) @assembly = Assembly.new(params) end |
Instance Attribute Details
#assembly ⇒ Object (readonly)
Returns the value of attribute assembly.
21 22 23 |
# File 'lib/megam/mixins/assemblies.rb', line 21 def assembly @assembly end |
Instance Method Details
#to_hash ⇒ Object
26 27 28 |
# File 'lib/megam/mixins/assemblies.rb', line 26 def to_hash assembly.to_hash end |