Module: RubyFst::RangeQuery
Instance Method Summary collapse
Instance Method Details
#range(ge: nil, le: nil, &block) ⇒ Object
8 9 10 11 12 |
# File 'lib/ruby_fst.rb', line 8 def range(ge: nil, le: nil, &block) return enum_for(:range, ge:, le:) unless block _range(ge, le, &block) end |
#starts_with(prefix, &block) ⇒ Object
14 15 16 17 18 |
# File 'lib/ruby_fst.rb', line 14 def starts_with(prefix, &block) return enum_for(:starts_with, prefix) unless block _starts_with(prefix, &block) end |