Sha256: c286378b35ab4b0c59ee517cdc72f58e274a77417bec799a1ef3e280f7003780
Contents?: true
Size: 252 Bytes
Versions: 6
Compression:
Stored size: 252 Bytes
Contents
module Twiglet class Message < Hash def initialize(msg) super case msg when String self[:message] = msg when Hash replace(msg.transform_keys!(&:to_sym)) else super end end end end
Version data entries
6 entries across 6 versions & 1 rubygems