Class: ThinkingSphinx::Panes::WeightPane

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

Instance Method Summary (collapse)

Constructor Details

- (WeightPane) initialize(context, object, raw)

Returns a new instance of 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

- (Object) weight



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

def weight
  @raw['@weight']
end