class FeatureProof::Proof

Attributes

f_field[RW]
f_model[RW]
f_records[RW]
f_text_to_display[RW]

Public Class Methods

new(t_model, t_field, t_text) click to toggle source
# File lib/feature_proof.rb, line 27
def initialize(t_model, t_field, t_text)
  @f_model = t_model
  @f_field = t_field
  @f_text_to_display = t_text
  @f_records = (@f_model.camelize.constantize).order(id: :desc).limit(5).reverse
end