lib/thinking_sphinx/index/faux_column.rb in thinking-sphinx-1.3.16 vs lib/thinking_sphinx/index/faux_column.rb in thinking-sphinx-1.3.17
- old
+ new
@@ -48,9 +48,13 @@
#
def is_string?
@name.is_a?(String) && @stack.empty?
end
+ def to_ary
+ [self]
+ end
+
# This handles any 'invalid' method calls and sets them as the name,
# and pushing the previous name into the stack. The object returns
# itself.
#
# If there's a single argument, it becomes the name, and the method
\ No newline at end of file