class Perpetuity::Postgres::ValueWithAttribute

Attributes

attribute[R]
value[R]

Public Class Methods

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

Public Instance Methods

embedded?() click to toggle source
# File lib/perpetuity/postgres/value_with_attribute.rb, line 14
def embedded?
  attribute.embedded?
end
method_missing(*args, &block) click to toggle source
# File lib/perpetuity/postgres/value_with_attribute.rb, line 18
def method_missing *args, &block
  value.send(*args, &block)
end
type() click to toggle source
# File lib/perpetuity/postgres/value_with_attribute.rb, line 10
def type
  attribute.type
end