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



2
3
4
# File 'lib/thinking_sphinx/panes/weight_pane.rb', line 2

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

Instance Method Details

#weightObject



6
7
8
# File 'lib/thinking_sphinx/panes/weight_pane.rb', line 6

def weight
  @raw['@weight']
end