Method: OData::Properties::Time#value
- Defined in:
- lib/odata/properties/time.rb
#value ⇒ Time?
Returns the property value, properly typecast
7 8 9 10 11 12 13 |
# File 'lib/odata/properties/time.rb', line 7 def value if @value.nil? && allow_nil? nil else ::Time.strptime(@value, '%H:%M:%S%:z') end end |