Sha256: 525f350bfff8cb0b4534b0879769e8213fb7f42953bb0a0afade4ac74ed81b7f
Contents?: true
Size: 239 Bytes
Versions: 2
Compression:
Stored size: 239 Bytes
Contents
class Lux::Response::Header attr_reader :data def initialize @data = {} end def [] key @data[key.downcase] end def []= key, value @data[key.downcase] = value end def to_h @data.to_h.sort.to_h end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lux-fw-0.2.3 | ./lib/lux/response/lib/header.rb |
lux-fw-0.2.1 | ./lib/lux/response/lib/header.rb |