Class: EDTF::Unknown
- Inherits:
-
Date::Infinity
- Object
- Date::Infinity
- EDTF::Unknown
- Defined in:
- lib/edtf/unknown.rb
Instance Method Summary collapse
- #approximate? ⇒ Boolean
- #certain? ⇒ Boolean
- #edtf ⇒ Object (also: #to_s)
- #precise? ⇒ Boolean
- #uncertain? ⇒ Boolean
Instance Method Details
#approximate? ⇒ Boolean
17 18 19 |
# File 'lib/edtf/unknown.rb', line 17 def approximate? true end |
#certain? ⇒ Boolean
13 14 15 |
# File 'lib/edtf/unknown.rb', line 13 def certain? false end |
#edtf ⇒ Object Also known as: to_s
3 4 5 |
# File 'lib/edtf/unknown.rb', line 3 def edtf 'uuuu' end |
#precise? ⇒ Boolean
21 22 23 |
# File 'lib/edtf/unknown.rb', line 21 def precise? false end |
#uncertain? ⇒ Boolean
9 10 11 |
# File 'lib/edtf/unknown.rb', line 9 def uncertain? true end |