Method: ThinkingSphinx::Index::FauxColumn#initialize
- Defined in:
- lib/thinking_sphinx/index/faux_column.rb
#initialize(*stack) ⇒ FauxColumn
Create a new column with a pre-defined stack. The top element in the stack will get shifted to be the name value.
13 14 15 16 |
# File 'lib/thinking_sphinx/index/faux_column.rb', line 13 def initialize(*stack) @name = stack.pop @stack = stack end |