class Wallaby::Parser

A parser to parse colon query string and return a hash for transformer to consume

Public Instance Methods

stri(str) click to toggle source

Case insensitive string match @param str [String]

# File lib/parsers/wallaby/parser.rb, line 14
def stri(str)
  str.chars.map! { |c| match["#{c.upcase}#{c.downcase}"] }.reduce :>>
end