Sha256: 3a1cea21c1549e6d0b6e282ad6f727a58176e197e3f5602108f829d74cc35ace
Contents?: true
Size: 157 Bytes
Versions: 6
Compression:
Stored size: 157 Bytes
Contents
module FromHash def from_hash(ops) ops.each do |k,v| send("#{k}=",v) end self end def initialize(ops={}) from_hash(ops) end end
Version data entries
6 entries across 6 versions & 2 rubygems