class ThinkingSphinx::Panes::ExcerptsPane::Excerpts

Public Class Methods

new(object, excerpter) click to toggle source
# File lib/thinking_sphinx/panes/excerpts_pane.rb, line 31
def initialize(object, excerpter)
  @object, @excerpter = object, excerpter
end

Private Instance Methods

method_missing(method, *args, &block) click to toggle source
# File lib/thinking_sphinx/panes/excerpts_pane.rb, line 37
def method_missing(method, *args, &block)
  @excerpter.excerpt! @object.send(method, *args, &block).to_s
end