Class: GreenButtonClasses::ElectricPowerQualitySummary

Inherits:
GreenButtonEntry show all
Defined in:
lib/greenbutton/gb_classes.rb

Instance Attribute Summary collapse

Attributes inherited from GreenButtonEntry

#href_from_parent, #other_related, #related_hrefs

Instance Method Summary collapse

Methods inherited from GreenButtonEntry

#add_related_entry, #add_related_link, #additional_rules, #all_rules, #assign_rule, #create_attributes, #doc, #entry_node, #find_by_href, #get_related_links, #initialize

Constructor Details

This class inherits a constructor from GreenButtonClasses::GreenButtonEntry

Instance Attribute Details

#usage_pointObject

Returns the value of attribute usage_point


277
278
279
# File 'lib/greenbutton/gb_classes.rb', line 277

def usage_point
  @usage_point
end

Instance Method Details

#pre_rule_assignment(parent) ⇒ Object


278
279
280
# File 'lib/greenbutton/gb_classes.rb', line 278

def pre_rule_assignment(parent)
  self.usage_point = parent
end