class Class

Public Instance Methods

index_on(attribute) click to toggle source
# File lib/prix_fixe_model.rb, line 54
def index_on(attribute)
  class_eval %Q(
    def index
      #{attribute}
    end
  )
end