Class: Arrow::TimestampDataType
- Inherits:
-
Object
- Object
- Arrow::TimestampDataType
- Defined in:
- lib/arrow/timestamp-data-type.rb
Class Method Summary collapse
- .try_convert(value) ⇒ Object private
Class Method Details
.try_convert(value) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
22 23 24 25 26 27 28 29 |
# File 'lib/arrow/timestamp-data-type.rb', line 22 def try_convert(value) case value when Symbol, Arrow::TimeUnit new(value) else super end end |