Class: PortfolioManager::Xml::GreenPowerType::Sources
- Inherits:
-
Object
- Object
- PortfolioManager::Xml::GreenPowerType::Sources
- Defined in:
- lib/portfolio_manager/xml.rb
Overview
inner class for member: sources {}sources
Instance Attribute Summary collapse
- #biogasPct ⇒ Object
- #biomassPct ⇒ Object
- #geothermalPct ⇒ Object
- #smallHydroPct ⇒ Object
- #solarPct ⇒ Object
- #unknownPct ⇒ Object
- #windPct ⇒ Object
Instance Method Summary collapse
-
#initialize(biomassPct = nil, biogasPct = nil, geothermalPct = nil, smallHydroPct = nil, solarPct = nil, windPct = nil, unknownPct = nil) ⇒ Sources
constructor
A new instance of Sources.
Constructor Details
#initialize(biomassPct = nil, biogasPct = nil, geothermalPct = nil, smallHydroPct = nil, solarPct = nil, windPct = nil, unknownPct = nil) ⇒ Sources
Returns a new instance of Sources.
7189 7190 7191 7192 7193 7194 7195 7196 7197 |
# File 'lib/portfolio_manager/xml.rb', line 7189 def initialize(biomassPct = nil, biogasPct = nil, geothermalPct = nil, smallHydroPct = nil, solarPct = nil, windPct = nil, unknownPct = nil) @biomassPct = biomassPct @biogasPct = biogasPct @geothermalPct = geothermalPct @smallHydroPct = smallHydroPct @solarPct = solarPct @windPct = windPct @unknownPct = unknownPct end |
Instance Attribute Details
#biogasPct ⇒ Object
7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 |
# File 'lib/portfolio_manager/xml.rb', line 7180 class Sources attr_accessor :biomassPct attr_accessor :biogasPct attr_accessor :geothermalPct attr_accessor :smallHydroPct attr_accessor :solarPct attr_accessor :windPct attr_accessor :unknownPct def initialize(biomassPct = nil, biogasPct = nil, geothermalPct = nil, smallHydroPct = nil, solarPct = nil, windPct = nil, unknownPct = nil) @biomassPct = biomassPct @biogasPct = biogasPct @geothermalPct = geothermalPct @smallHydroPct = smallHydroPct @solarPct = solarPct @windPct = windPct @unknownPct = unknownPct end end |
#biomassPct ⇒ Object
7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 |
# File 'lib/portfolio_manager/xml.rb', line 7180 class Sources attr_accessor :biomassPct attr_accessor :biogasPct attr_accessor :geothermalPct attr_accessor :smallHydroPct attr_accessor :solarPct attr_accessor :windPct attr_accessor :unknownPct def initialize(biomassPct = nil, biogasPct = nil, geothermalPct = nil, smallHydroPct = nil, solarPct = nil, windPct = nil, unknownPct = nil) @biomassPct = biomassPct @biogasPct = biogasPct @geothermalPct = geothermalPct @smallHydroPct = smallHydroPct @solarPct = solarPct @windPct = windPct @unknownPct = unknownPct end end |
#geothermalPct ⇒ Object
7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 |
# File 'lib/portfolio_manager/xml.rb', line 7180 class Sources attr_accessor :biomassPct attr_accessor :biogasPct attr_accessor :geothermalPct attr_accessor :smallHydroPct attr_accessor :solarPct attr_accessor :windPct attr_accessor :unknownPct def initialize(biomassPct = nil, biogasPct = nil, geothermalPct = nil, smallHydroPct = nil, solarPct = nil, windPct = nil, unknownPct = nil) @biomassPct = biomassPct @biogasPct = biogasPct @geothermalPct = geothermalPct @smallHydroPct = smallHydroPct @solarPct = solarPct @windPct = windPct @unknownPct = unknownPct end end |
#smallHydroPct ⇒ Object
7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 |
# File 'lib/portfolio_manager/xml.rb', line 7180 class Sources attr_accessor :biomassPct attr_accessor :biogasPct attr_accessor :geothermalPct attr_accessor :smallHydroPct attr_accessor :solarPct attr_accessor :windPct attr_accessor :unknownPct def initialize(biomassPct = nil, biogasPct = nil, geothermalPct = nil, smallHydroPct = nil, solarPct = nil, windPct = nil, unknownPct = nil) @biomassPct = biomassPct @biogasPct = biogasPct @geothermalPct = geothermalPct @smallHydroPct = smallHydroPct @solarPct = solarPct @windPct = windPct @unknownPct = unknownPct end end |
#solarPct ⇒ Object
7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 |
# File 'lib/portfolio_manager/xml.rb', line 7180 class Sources attr_accessor :biomassPct attr_accessor :biogasPct attr_accessor :geothermalPct attr_accessor :smallHydroPct attr_accessor :solarPct attr_accessor :windPct attr_accessor :unknownPct def initialize(biomassPct = nil, biogasPct = nil, geothermalPct = nil, smallHydroPct = nil, solarPct = nil, windPct = nil, unknownPct = nil) @biomassPct = biomassPct @biogasPct = biogasPct @geothermalPct = geothermalPct @smallHydroPct = smallHydroPct @solarPct = solarPct @windPct = windPct @unknownPct = unknownPct end end |
#unknownPct ⇒ Object
7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 |
# File 'lib/portfolio_manager/xml.rb', line 7180 class Sources attr_accessor :biomassPct attr_accessor :biogasPct attr_accessor :geothermalPct attr_accessor :smallHydroPct attr_accessor :solarPct attr_accessor :windPct attr_accessor :unknownPct def initialize(biomassPct = nil, biogasPct = nil, geothermalPct = nil, smallHydroPct = nil, solarPct = nil, windPct = nil, unknownPct = nil) @biomassPct = biomassPct @biogasPct = biogasPct @geothermalPct = geothermalPct @smallHydroPct = smallHydroPct @solarPct = solarPct @windPct = windPct @unknownPct = unknownPct end end |
#windPct ⇒ Object
7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 |
# File 'lib/portfolio_manager/xml.rb', line 7180 class Sources attr_accessor :biomassPct attr_accessor :biogasPct attr_accessor :geothermalPct attr_accessor :smallHydroPct attr_accessor :solarPct attr_accessor :windPct attr_accessor :unknownPct def initialize(biomassPct = nil, biogasPct = nil, geothermalPct = nil, smallHydroPct = nil, solarPct = nil, windPct = nil, unknownPct = nil) @biomassPct = biomassPct @biogasPct = biogasPct @geothermalPct = geothermalPct @smallHydroPct = smallHydroPct @solarPct = solarPct @windPct = windPct @unknownPct = unknownPct end end |