Sha256: d964394a1f3c11baa1ecded9606011b5011cbd369e75294f807bf03d749d46ec
Contents?: true
Size: 208 Bytes
Versions: 4
Compression:
Stored size: 208 Bytes
Contents
class Object def param_constructor self.class_eval(' def initialize(params={}) params.each do |attr, value| self.public_send("#{attr}=", value) end if params end') end end
Version data entries
4 entries across 4 versions & 2 rubygems