Class: BqGuess::Fields::Null
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(name) ⇒ Null
constructor
A new instance of Null.
Methods inherited from Base
#as_schema, #nullable!, #nullable?, #repeated!, #repeated?, #required!, #required?, #to_hash
Constructor Details
#initialize(name) ⇒ Null
Returns a new instance of Null.
8 9 10 11 12 |
# File 'lib/bq_guess/fields/null.rb', line 8 def initialize(name) super @type = :string nullable! end |