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.
4 5 6 |
# File 'lib/thinking_sphinx/panes/weight_pane.rb', line 4 def initialize(context, object, raw) @raw = raw end |
Instance Method Details
#weight ⇒ Object
8 9 10 |
# File 'lib/thinking_sphinx/panes/weight_pane.rb', line 8 def weight @raw["weight()"] end |