class Date

Reimplements `json/add/date`

Public Class Methods

from_zenaton(props) click to toggle source

Parse from simple hash

# File lib/zenaton/refinements/date.rb, line 25
def self.from_zenaton(props)
  civil(*props.values_at('y', 'm', 'd', 'sg'))
end