Class: Rets::Metadata::Containers::RowContainer

Inherits:
Container
  • Object
show all
Defined in:
lib/rets/metadata/containers.rb

Instance Attribute Summary collapse

Attributes inherited from Container

#fragment

Instance Method Summary collapse

Methods inherited from Container

#extract, uses

Constructor Details

#initialize(doc) ⇒ RowContainer

Returns a new instance of RowContainer.



39
40
41
42
# File 'lib/rets/metadata/containers.rb', line 39

def initialize(doc)
  super
  self.rows = Parser::Compact.parse_document(doc)
end

Instance Attribute Details

#rowsObject

Returns the value of attribute rows.



37
38
39
# File 'lib/rets/metadata/containers.rb', line 37

def rows
  @rows
end