class Perpetuity::Postgres::BooleanValue

Public Class Methods

new(value) click to toggle source
# File lib/perpetuity/postgres/boolean_value.rb, line 4
def initialize value
  @value = value
end

Public Instance Methods

to_s() click to toggle source
# File lib/perpetuity/postgres/boolean_value.rb, line 8
def to_s
  if @value
    'TRUE'
  else
    'FALSE'
  end
end