class ThinkingSphinx::Panes::WeightPane

Public Class Methods

new(context, object, raw) click to toggle source
# File lib/thinking_sphinx/panes/weight_pane.rb, line 2
def initialize(context, object, raw)
  @raw = raw
end

Public Instance Methods

weight() click to toggle source
# File lib/thinking_sphinx/panes/weight_pane.rb, line 6
def weight
  @raw[ThinkingSphinx::SphinxQL.weight[:column]]
end