module FreckleApi::Coercions::ClassMethods
Public Instance Methods
coerce_to_date()
click to toggle source
# File lib/freckle_api/coercions.rb, line 20 def coerce_to_date Date.method(:parse).to_proc end
coerce_to_datetime()
click to toggle source
TODO: timezone based on local machine TODO: beware nil values
# File lib/freckle_api/coercions.rb, line 16 def coerce_to_datetime DateTime.method(:parse).to_proc end