Class: Trino::Client::ModelVersions::V303::Assignments=Base.new(:assignments)
- Inherits:
-
Object
- Object
- Trino::Client::ModelVersions::V303::Assignments=Base.new(:assignments)
- Defined in:
- lib/trino/client/model_versions/303.rb
Class Method Summary collapse
Class Method Details
.decode(hash) ⇒ Object
382 383 384 385 386 387 388 389 390 391 |
# File 'lib/trino/client/model_versions/303.rb', line 382 def decode(hash) unless hash.is_a?(Hash) raise TypeError, "Can't convert #{hash.class} to Hash" end obj = allocate obj.send(:initialize_struct, hash["assignments"], ) obj end |