Module: ActsAsFerret::ResultAttributes

Included in:
FerretResult, InstanceMethods
Defined in:
lib/acts_as_ferret/ferret_result.rb

Overview

mixed into the FerretResult and AR classes calling acts_as_ferret

Instance Attribute Summary collapse

Instance Attribute Details

#ferret_rankObject

Returns the value of attribute ferret_rank.



9
10
11
# File 'lib/acts_as_ferret/ferret_result.rb', line 9

def ferret_rank
  @ferret_rank
end

#ferret_scoreObject

holds the score this record had when it was found via acts_as_ferret



7
8
9
# File 'lib/acts_as_ferret/ferret_result.rb', line 7

def ferret_score
  @ferret_score
end