Class: NilTime
- Inherits:
-
Object
- Object
- NilTime
- Defined in:
- lib/ext/nil_time.rb
Overview
A time emulator to handle cases where no time is available
Instance Method Summary collapse
Instance Method Details
#l18n_short_date_html ⇒ Object
18 19 20 |
# File 'lib/ext/nil_time.rb', line 18 def l18n_short_date_html '<time></time>' end |
#strftime ⇒ Object
5 6 7 |
# File 'lib/ext/nil_time.rb', line 5 def strftime(*) '' end |
#xmlschema(_ = 0) ⇒ Object
9 10 11 |
# File 'lib/ext/nil_time.rb', line 9 def xmlschema(_ = 0) '' end |