Class: Mods::Date::EdtfFormat
- Inherits:
-
Mods::Date
- Object
- Mods::Date
- Mods::Date::EdtfFormat
- Defined in:
- lib/mods/date.rb
Overview
Strict EDTF parser
Direct Known Subclasses
Instance Attribute Summary collapse
-
#date ⇒ Object
readonly
Returns the value of attribute date.
Attributes inherited from Mods::Date
Class Method Summary collapse
Methods inherited from Mods::Date
#approximate?, #as_range, #encoding, #encoding?, #end?, from_element, #inferred?, #initialize, parse_date, #point, #qualifier, #questionable?, #single?, #start?, #text, #to_a, #type
Constructor Details
This class inherits a constructor from Mods::Date
Instance Attribute Details
#date ⇒ Object (readonly)
Returns the value of attribute date.
55 56 57 |
# File 'lib/mods/date.rb', line 55 def date @date end |
Class Method Details
.cleanup(text) ⇒ Object
57 58 59 |
# File 'lib/mods/date.rb', line 57 def self.cleanup(text) text end |