Class: RDialogy::Calendar

Inherits:
Base
  • Object
show all
Defined in:
lib/rdialogy/calendar.rb

Class Method Summary collapse

Class Method Details

.run(options = {}) ⇒ Object



23
24
25
26
27
# File 'lib/rdialogy/calendar.rb', line 23

def self.run(options={})
  super options, true do |input|
    Time.mktime *input.chomp.split('/').reverse
  end
end