Sha256: 9143bd9f1726d01b31dde15a9ac85cf1fadc204104145174a38df3e2c7b1f0b5
Contents?: true
Size: 330 Bytes
Versions: 3
Compression:
Stored size: 330 Bytes
Contents
module Sipatra module MessageExtension def uri requestURI end end module SessionExtension def [](name) getAttribute(name.to_s) end def []=(name, value) if value.nil? removeAttribute(name.to_s) else setAttribute(name.to_s, value) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sipatra-0.1.1 | lib/sipatra/extension_modules.rb |
sipatra-0.1.0 | lib/sipatra/extension_modules.rb |
sipatra-0.0.3 | lib/sipatra/extension_modules.rb |