Class: BqQuery::Attribute::Boolean
- Defined in:
- lib/bq_query/attribute/boolean.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from BqQuery::Attribute::Base
Instance Method Details
#parse ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/bq_query/attribute/boolean.rb', line 4 def parse case @value when nil then nil when 'true' then true when 'false' then false end end |