Class: ThinkingSphinx::Panes::WeightPane
- Inherits:
-
Object
- Object
- ThinkingSphinx::Panes::WeightPane
- Defined in:
- lib/thinking_sphinx/panes/weight_pane.rb
Instance Method Summary collapse
-
#initialize(context, object, raw) ⇒ WeightPane
constructor
A new instance of WeightPane.
- #weight ⇒ Object
Constructor Details
#initialize(context, object, raw) ⇒ WeightPane
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
#weight ⇒ Object
6 7 8 |
# File 'lib/thinking_sphinx/panes/weight_pane.rb', line 6 def weight @raw['@weight'] end |