Class: ArrowFormat::DateType
- Inherits:
-
TemporalType
- Object
- Type
- PrimitiveType
- TemporalType
- ArrowFormat::DateType
- Defined in:
- lib/arrow-format/type.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#unit ⇒ Object
readonly
Returns the value of attribute unit.
Instance Method Summary collapse
-
#initialize(unit) ⇒ DateType
constructor
A new instance of DateType.
- #to_flatbuffers ⇒ Object
Methods inherited from Type
Constructor Details
#initialize(unit) ⇒ DateType
Returns a new instance of DateType.
349 350 351 352 |
# File 'lib/arrow-format/type.rb', line 349 def initialize(unit) super() @unit = unit end |
Instance Attribute Details
#unit ⇒ Object (readonly)
Returns the value of attribute unit.
348 349 350 |
# File 'lib/arrow-format/type.rb', line 348 def unit @unit end |