Class: Muwu::ManifestTask::Metadata
- Inherits:
-
Object
- Object
- Muwu::ManifestTask::Metadata
- Defined in:
- lib/muwu/manifest_task/metadata.rb
Instance Attribute Summary collapse
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#parent_document ⇒ Object
Returns the value of attribute parent_document.
-
#project ⇒ Object
Returns the value of attribute project.
Instance Method Summary collapse
Instance Attribute Details
#destination ⇒ Object
Returns the value of attribute destination.
6 7 8 |
# File 'lib/muwu/manifest_task/metadata.rb', line 6 def destination @destination end |
#metadata ⇒ Object
Returns the value of attribute metadata.
6 7 8 |
# File 'lib/muwu/manifest_task/metadata.rb', line 6 def @metadata end |
#parent_document ⇒ Object
Returns the value of attribute parent_document.
6 7 8 |
# File 'lib/muwu/manifest_task/metadata.rb', line 6 def parent_document @parent_document end |
#project ⇒ Object
Returns the value of attribute project.
6 7 8 |
# File 'lib/muwu/manifest_task/metadata.rb', line 6 def project @project end |
Instance Method Details
#document_index ⇒ Object
28 29 30 |
# File 'lib/muwu/manifest_task/metadata.rb', line 28 def document_index @parent_document.index end |
#inspect ⇒ Object
14 15 16 |
# File 'lib/muwu/manifest_task/metadata.rb', line 14 def inspect ["#{self.to_s}", "{", inspect_instance_variables, "}"].join(' ') end |
#inspect_instance_variables ⇒ Object
19 20 21 |
# File 'lib/muwu/manifest_task/metadata.rb', line 19 def inspect_instance_variables self.instance_variables.map { |v| "#{v}=#<#{instance_variable_get(v).class}>" }.join(", ") end |