Class: DeltaLake::Schema
- Inherits:
-
Object
- Object
- DeltaLake::Schema
- Defined in:
- lib/deltalake/schema.rb
Instance Attribute Summary collapse
-
#fields ⇒ Object
readonly
Returns the value of attribute fields.
Instance Method Summary collapse
-
#initialize(fields) ⇒ Schema
constructor
A new instance of Schema.
Constructor Details
#initialize(fields) ⇒ Schema
Returns a new instance of Schema.
5 6 7 |
# File 'lib/deltalake/schema.rb', line 5 def initialize(fields) @fields = fields end |
Instance Attribute Details
#fields ⇒ Object (readonly)
Returns the value of attribute fields.
3 4 5 |
# File 'lib/deltalake/schema.rb', line 3 def fields @fields end |