Method: Foraneus.date
- Defined in:
- lib/foraneus.rb
.date(name, *args) ⇒ Object
Declares a date field.
40 41 42 43 |
# File 'lib/foraneus.rb', line 40 def self.date(name, *args) converter = Foraneus::Converters::Date.new(*args) field(name, converter) end |