Parent

Methods

Class/Module Index [+]

Quicksearch

Rabbit::Searcher

Public Class Methods

new(canvas) click to toggle source
# File lib/rabbit/searcher.rb, line 15
def initialize(canvas)
  @canvas = canvas
end

Public Instance Methods

regexp(text) click to toggle source
# File lib/rabbit/searcher.rb, line 19
def regexp(text)
  unless text == @text
    @text = text
    @regexp = nil
  end
  @regexp ||= internal_regexp
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.