class BigQuery::Attribute::Boolean

Public Instance Methods

parse() click to toggle source
# File lib/bigquery-client/attribute/boolean.rb, line 4
def parse
  case @value
  when nil     then nil
  when 'true'  then true
  when 'false' then false
  end
end