Class: GlooLang::Convert::StringToDate

Inherits:
Object
  • Object
show all
Defined in:
lib/gloo_lang/convert/string_to_date.rb

Instance Method Summary collapse

Instance Method Details

#convert(value) ⇒ Object

Convert the given string value to date.



15
16
17
# File 'lib/gloo_lang/convert/string_to_date.rb', line 15

def convert( value )
  return Chronic.parse( value )
end