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
7 8 9 |
# File 'lib/megam/mixins/assemblies.rb', line 7 def initialize(params) @assembly = Assembly.new(params) end |
Instance Attribute Details
#assembly ⇒ Object (readonly)
Returns the value of attribute assembly.
6 7 8 |
# File 'lib/megam/mixins/assemblies.rb', line 6 def assembly @assembly end |
Instance Method Details
#to_hash ⇒ Object
11 12 13 |
# File 'lib/megam/mixins/assemblies.rb', line 11 def to_hash assembly.to_hash end |