Class: ODDB::Remote::Util::M10lDocument
- Inherits:
-
Object
- Object
- Object
- ODDB::Remote::Util::M10lDocument
show all
- Defined in:
- lib/oddb/remote/util/m10l_document.rb
Instance Attribute Summary
Attributes inherited from Object
#remote, #source
Instance Method Summary
collapse
Methods inherited from Object
delegate, #initialize, #uid
Instance Method Details
#descriptions ⇒ Object
11
12
13
14
15
16
17
18
|
# File 'lib/oddb/remote/util/m10l_document.rb', line 11
def descriptions
@descriptions or begin
@descriptions = @remote.descriptions.inject({}) do |memo, (key, doc)|
memo.store key.to_s, Remote::Text::Document.new(@source, doc)
memo
end
end
end
|