Module: DocumentMapper::Document
- Extended by:
- ActiveSupport::Concern
- Includes:
- ActiveModel::AttributeMethods, AttributeMethods::Read, ToHtml, YamlParsing
- Defined in:
- lib/document_mapper/document.rb
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#content ⇒ Object
Returns the value of attribute content.
Instance Method Summary collapse
Methods included from YamlParsing
Methods included from ToHtml
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
11 12 13 |
# File 'lib/document_mapper/document.rb', line 11 def attributes @attributes end |
#content ⇒ Object
Returns the value of attribute content.
11 12 13 |
# File 'lib/document_mapper/document.rb', line 11 def content @content end |