lib/rets/metadata/root.rb
def metadata_types
        return @metadata_types if @metadata_types

        h = {}

        sources.each do |name, source|
          h[name.downcase.to_sym] = build_containers(Nokogiri.parse(source))
        end

        @metadata_types = h
      end
# Metadata_types is the low level parsed representation of the raw xml
# sources. Just one level up, they contain Containers, consisting of
# SystemContainers or RowContainers
Metadata_types is the low level parsed representation of the raw xml
sources. Just one level up, they contain Containers, consisting of
SystemContainers or RowContainers
Metadata_types is the low level parsed representation of the raw xml sources . Just one level up they contain Containers consisting of SystemContainers or RowContainers
def metadata_types
        return @metadata_types if @metadata_types
        h = {}
        sources.each do |name, source|
          h[name.downcase.to_sym] = build_containers(Nokogiri.parse(source))
        end
        @metadata_types = h
      end
def metadata_types return @metadata_types if @metadata_types h = { } sources . each do | name , source | h [ name . downcase . to_sym ] = build_containers ( Nokogiri . parse ( source ) ) end @metadata_types = h end
Metadata_types is the low level parsed representation of the raw xml
sources.
Metadata_types is the low level parsed representation of the raw xml sources .