class PMS
Constants
- VERSION
Attributes
index[R]
input[R]
Public Class Methods
new(input, options = {})
click to toggle source
# File lib/pms.rb, line 35 def initialize(input, options = {}) @input = input @index = Index.new(input, options) end
Public Instance Methods
matches()
click to toggle source
# File lib/pms.rb, line 50 def matches @index.matches end
results()
click to toggle source
# File lib/pms.rb, line 46 def results @index.entries end
search(token = nil, &block)
click to toggle source
# File lib/pms.rb, line 40 def search(token = nil, &block) token ? TokenProxy.new(self, token) : Proxy.new(self).and(&block) end
Also aliased as: /