Class: ThinkingSphinx::Panes::WeightPane

Inherits:
Object
  • Object
show all
Defined in:
lib/thinking_sphinx/panes/weight_pane.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, object, raw) ⇒ WeightPane

Returns a new instance of WeightPane.



4
5
6
# File 'lib/thinking_sphinx/panes/weight_pane.rb', line 4

def initialize(context, object, raw)
  @raw = raw
end

Instance Method Details

#weightObject



8
9
10
# File 'lib/thinking_sphinx/panes/weight_pane.rb', line 8

def weight
  @raw["weight()"]
end