# File lib/thinking_sphinx/core/interpreter.rb, line 6 def initialize(index, block) @index = index mod = ::Module.new mod.send :define_method, :translate!, block mod.send :extend_object, self end
# File lib/thinking_sphinx/core/interpreter.rb, line 2 def self.translate!(index, block) new(index, block).translate! end
# File lib/thinking_sphinx/core/interpreter.rb, line 16 def method_missing(method, *args) ::ThinkingSphinx::ActiveRecord::Column.new method, *args end