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