Class: BqQuery::Attribute::Float

Inherits:
Base
  • Object
show all
Defined in:
lib/bq_query/attribute/float.rb

Instance Attribute Summary

Attributes inherited from Base

#name, #type, #value

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from BqQuery::Attribute::Base

Instance Method Details

#parseObject



4
5
6
7
# File 'lib/bq_query/attribute/float.rb', line 4

def parse
  return nil if @value.nil?
  @value.to_f
end