Sha256: ae745658f81175b18c966a664d171a01f25df81cc963d6cb2aa861046d7d0ac6
Contents?: true
Size: 420 Bytes
Versions: 5
Compression:
Stored size: 420 Bytes
Contents
require 'webrat' class CGIMethods #:nodoc: def self.parse_query_parameters(params) hash = {} params.split('&').each do |p| pair = p.split('=') hash[pair[0]] = pair[1] end hash end end module Webrat class RackSession < Session #:nodoc: def response_body @response.body end def response_code @response.status end end end Webrat.configuration.mode = :rack
Version data entries
5 entries across 5 versions & 4 rubygems