class Reactor
Attributes
CommercialOperationDate[RW]
ConstrRestartDate[RW]
ConstrSuspendedDate[RW]
ConstructionStartDate[RW]
DesignNetCapacity[RW]
EAF[RW]
EUL[RW]
FirstCriticality[RW]
Generation[RW]
GridConnectionDate[RW]
GrossCapacity[RW]
LifetimePerformanceYear[RW]
LoadFactor[RW]
LongTermShutdownDate[RW]
Model[RW]
NetCapacity[RW]
OperatingFactor[RW]
PermanentShutdownDate[RW]
RestartDate[RW]
ThermalCapacity[RW]
Type[RW]
id[RW]
location[RW]
name[RW]
status[RW]
Public Class Methods
all()
click to toggle source
# File lib/reactor.rb, line 17 def self.all @@all end
new(reactor_data)
click to toggle source
# File lib/reactor.rb, line 10 def initialize(reactor_data) #reactor_data is a hash that NuclearPowerReactors class will produce by scraping data reactor_data.each do |attribute, value| self.send(("#{attribute}="), value) end @@all << self end