module Findable::Schema

Public Instance Methods

attribute=(attr, value) click to toggle source
# File lib/findable/schema.rb, line 41
def attribute=(attr, value)
  public_send("#{attr}_will_change!")
  attributes[attr] = value
end
attribute?(attr) click to toggle source
# File lib/findable/schema.rb, line 46
def attribute?(attr)
  attributes[attr].present?
end