class Recline::AttributeReflection

Attributes

appearance[RW]

Public Class Methods

new(field, klass, schema) click to toggle source
Calls superclass method
# File lib/recline/attribute_reflection.rb, line 7
def initialize(field, klass, schema)
  super
  @appearance = Recline.appearance_for(field, klass, @name)
end

Public Instance Methods

primary_key?() click to toggle source
# File lib/recline/attribute_reflection.rb, line 12
def primary_key?
  @klass.primary_key == @name
end