Sha256: 739e50e677f29f5a7f0a224e69cd118c438f21fb8c320b8fb0c39603a639a4d4
Contents?: true
Size: 181 Bytes
Versions: 16
Compression:
Stored size: 181 Bytes
Contents
class Struct def self.from_hash(h) o = new h.each do |m, v| o[m.to_sym] = v end o end def self.from_array(a) a.collect do |b| end end end
Version data entries
16 entries across 16 versions & 1 rubygems