Class: EPUB::Publication::Package::Metadata::DCMES

Inherits:
Object
  • Object
show all
Includes:
Refinee
Defined in:
lib/epub/publication/package/metadata.rb

Direct Known Subclasses

Identifier, Title

Constant Summary

Constants included from Refinee

Refinee::PROPERTIES

Instance Attribute Summary collapse

Attributes included from Refinee

#refiners

Instance Method Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content.



91
92
93
# File 'lib/epub/publication/package/metadata.rb', line 91

def content
  @content
end

#dirObject

Returns the value of attribute dir.



91
92
93
# File 'lib/epub/publication/package/metadata.rb', line 91

def dir
  @dir
end

#idObject

Returns the value of attribute id.



91
92
93
# File 'lib/epub/publication/package/metadata.rb', line 91

def id
  @id
end

#langObject

Returns the value of attribute lang.



91
92
93
# File 'lib/epub/publication/package/metadata.rb', line 91

def lang
  @lang
end

Instance Method Details

#to_sObject



93
94
95
# File 'lib/epub/publication/package/metadata.rb', line 93

def to_s
  content.to_s
end