Class: Mmana2nec::IntermediateFormat

Inherits:
Object
  • Object
show all
Defined in:
lib/mmana2nec/intermediate_format.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeIntermediateFormat

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

#frequencyObject

Returns the value of attribute frequency.



3
4
5
# File 'lib/mmana2nec/intermediate_format.rb', line 3

def frequency
  @frequency
end

#loadsObject

Returns the value of attribute loads.



3
4
5
# File 'lib/mmana2nec/intermediate_format.rb', line 3

def loads
  @loads
end

#segmentationObject

Returns the value of attribute segmentation.



3
4
5
# File 'lib/mmana2nec/intermediate_format.rb', line 3

def segmentation
  @segmentation
end

#sourcesObject

Returns the value of attribute sources.



3
4
5
# File 'lib/mmana2nec/intermediate_format.rb', line 3

def sources
  @sources
end

#wiresObject

Returns the value of attribute wires.



3
4
5
# File 'lib/mmana2nec/intermediate_format.rb', line 3

def wires
  @wires
end