module Fuzz
Constants
- VERSION
Public Instance Methods
find_entry_by_title(title)
click to toggle source
# File lib/fuzz/selector.rb, line 40 def find_entry_by_title(title) entries.detect { |entry| entry.title == title } end
make_entry(item, cache)
click to toggle source
# File lib/fuzz/selector.rb, line 44 def make_entry(item, cache) title = item.to_s Fuzz::Entry.new( title: title, object: item, weight: cache.weight(title) || 0, ) end