Class: ODDB::Remote::Text::Document
- Defined in:
- lib/oddb/remote/text/document.rb
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
Methods inherited from Object
Constructor Details
This class inherits a constructor from ODDB::Remote::Object
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args, &block) ⇒ Object
14 15 16 |
# File 'lib/oddb/remote/text/document.rb', line 14 def method_missing *args, &block @remote.send *args, &block end |
Instance Method Details
#empty? ⇒ Boolean
11 12 13 |
# File 'lib/oddb/remote/text/document.rb', line 11 def empty? @remote.empty? end |