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.



44
45
46
47
# File 'lib/rets/metadata/containers.rb', line 44

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

Instance Attribute Details

#rowsObject

Returns the value of attribute rows.



42
43
44
# File 'lib/rets/metadata/containers.rb', line 42

def rows
  @rows
end