class Greeve::Row
Represents an XML `row` element, contained in a {Rowset}.
Public Class Methods
new(xml_element, attributes)
click to toggle source
@param xml_element [Ox::Element] the xml row element for this item @param attributes [Hash] the hash of attribute definitions for this row
# File lib/greeve/row.rb, line 12 def initialize(xml_element, attributes) @xml_element = xml_element @attributes = attributes attributes.each do |name, opts| define_attribute_method(:instance, name, opts) end end