Sha256: 001c28d8b312dbc47c7192995df3cbaed3f64db2e7a41f33ba6319cd7d854224

Contents?: true

Size: 213 Bytes

Versions: 9

Compression:

Stored size: 213 Bytes

Contents

class Muri

  protected

  def self.param_parse(query)
    return { } if query.nil?
    params_flat = { }
    params = CGI::parse(query)
    params.each {|k,v| params_flat[k] = v.first}
    params_flat
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
muri-1.1.9 lib/muri/filter.rb
muri-1.1.8 lib/muri/filter.rb
muri-1.1.6 lib/muri/filter.rb
muri-1.1.5 lib/muri/filter.rb
muri-1.1.4 lib/muri/filter.rb
muri-1.1.2 lib/muri/filter.rb
muri-1.1.1 lib/muri/filter.rb
muri-1.1.0 lib/muri/filter.rb
muri-1.0.0 lib/muri/filter.rb