Sha256: 6a51448f475a3c30fba603ee3cfa4bfe95ae279fcf687a4ad4d297a0ffb46b2b
Contents?: true
Size: 328 Bytes
Versions: 3
Compression:
Stored size: 328 Bytes
Contents
module CGISpecs def self.cgi_new(html = "html4") cgi = nil ruby_version_is "" ... "1.9" do cgi = CGI.new(html) end ruby_version_is "1.9" do cgi = CGI.new(:tag_maker => html) end cgi end def self.split(string) string.split("<").reject { |x| x.empty? }.map { |x| "<#{x}" } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubysl-cgi-1.0.0 | spec/htmlextension/fixtures/common.rb |
rubysl-cgi-2.0.1 | spec/htmlextension/fixtures/common.rb |
rubysl-cgi-2.0.0 | spec/htmlextension/fixtures/common.rb |