Class: TeradataCli::FloatType

Inherits:
FieldType show all
Defined in:
lib/teradata-cli/connection.rb

Instance Attribute Summary

Attributes inherited from FieldType

#format, #name, #title, #type_code, #type_name

Instance Method Summary collapse

Methods inherited from FieldType

code_names, codes, create, #initialize, #inspect, #to_s

Constructor Details

This class inherits a constructor from TeradataCli::FieldType

Instance Method Details

#unmarshal(f) ⇒ Object



949
950
951
# File 'lib/teradata-cli/connection.rb', line 949

def unmarshal(f)
  f.read(@length).unpack('d').first
end