Module: DateOutput::ViewHelpers
- Defined in:
- lib/date_output/view_helpers.rb
Instance Method Summary collapse
- #full_date(date, options = {}) ⇒ Object
- #full_date_with_time(date, options = {}) ⇒ Object
- #long_date_no_day(date, options = {}) ⇒ Object
- #long_date_no_day_with_time(date, options = {}) ⇒ Object
- #numbered_date(date, options = {}) ⇒ Object
- #numbered_date_with_time(date, options = {}) ⇒ Object
- #short_date(date, options = {}) ⇒ Object
- #short_date_no_day(date, options = {}) ⇒ Object
- #short_date_no_day_with_time(date, options = {}) ⇒ Object
- #short_date_with_time(date, options = {}) ⇒ Object
Instance Method Details
#full_date(date, options = {}) ⇒ Object
20 21 22 |
# File 'lib/date_output/view_helpers.rb', line 20 def full_date(date,={}) DateOutput.full_date(date,) end |
#full_date_with_time(date, options = {}) ⇒ Object
4 5 6 |
# File 'lib/date_output/view_helpers.rb', line 4 def full_date_with_time(date,={}) DateOutput.full_date_with_time(date,) end |
#long_date_no_day(date, options = {}) ⇒ Object
28 29 30 |
# File 'lib/date_output/view_helpers.rb', line 28 def long_date_no_day(date, ={}) DateOutput.long_date_no_day(date, ) end |
#long_date_no_day_with_time(date, options = {}) ⇒ Object
36 37 38 |
# File 'lib/date_output/view_helpers.rb', line 36 def long_date_no_day_with_time(date, ={}) DateOutput.long_date_no_day_with_time(date, ) end |
#numbered_date(date, options = {}) ⇒ Object
16 17 18 |
# File 'lib/date_output/view_helpers.rb', line 16 def numbered_date(date,={}) DateOutput.numbered_date(date,) end |
#numbered_date_with_time(date, options = {}) ⇒ Object
12 13 14 |
# File 'lib/date_output/view_helpers.rb', line 12 def numbered_date_with_time(date,={}) DateOutput.numbered_date_with_time(date,) end |
#short_date(date, options = {}) ⇒ Object
24 25 26 |
# File 'lib/date_output/view_helpers.rb', line 24 def short_date(date,={}) DateOutput.short_date(date,) end |
#short_date_no_day(date, options = {}) ⇒ Object
32 33 34 |
# File 'lib/date_output/view_helpers.rb', line 32 def short_date_no_day(date, ={}) DateOutput.short_date_no_day(date, ) end |
#short_date_no_day_with_time(date, options = {}) ⇒ Object
40 41 42 |
# File 'lib/date_output/view_helpers.rb', line 40 def short_date_no_day_with_time(date, ={}) DateOutput.short_date_no_day_with_time(date, ) end |
#short_date_with_time(date, options = {}) ⇒ Object
8 9 10 |
# File 'lib/date_output/view_helpers.rb', line 8 def short_date_with_time(date,={}) DateOutput.short_date_with_time(date,) end |