Class: Mmana2nec::IntermediateFormat
- Inherits:
-
Object
- Object
- Mmana2nec::IntermediateFormat
- Defined in:
- lib/mmana2nec/intermediate_format.rb
Instance Attribute Summary collapse
-
#frequency ⇒ Object
Returns the value of attribute frequency.
-
#loads ⇒ Object
Returns the value of attribute loads.
-
#segmentation ⇒ Object
Returns the value of attribute segmentation.
-
#sources ⇒ Object
Returns the value of attribute sources.
-
#wires ⇒ Object
Returns the value of attribute wires.
Instance Method Summary collapse
-
#initialize ⇒ IntermediateFormat
constructor
A new instance of IntermediateFormat.
Constructor Details
#initialize ⇒ IntermediateFormat
Returns a new instance of IntermediateFormat.
4 5 6 7 8 9 10 |
# File 'lib/mmana2nec/intermediate_format.rb', line 4 def initialize @wires = [] @sources = [] @loads = [] @segmentation = [] @frequency ||= 7.0 end |
Instance Attribute Details
#frequency ⇒ Object
Returns the value of attribute frequency.
3 4 5 |
# File 'lib/mmana2nec/intermediate_format.rb', line 3 def frequency @frequency end |
#loads ⇒ Object
Returns the value of attribute loads.
3 4 5 |
# File 'lib/mmana2nec/intermediate_format.rb', line 3 def loads @loads end |
#segmentation ⇒ Object
Returns the value of attribute segmentation.
3 4 5 |
# File 'lib/mmana2nec/intermediate_format.rb', line 3 def segmentation @segmentation end |
#sources ⇒ Object
Returns the value of attribute sources.
3 4 5 |
# File 'lib/mmana2nec/intermediate_format.rb', line 3 def sources @sources end |
#wires ⇒ Object
Returns the value of attribute wires.
3 4 5 |
# File 'lib/mmana2nec/intermediate_format.rb', line 3 def wires @wires end |