Sha256: 55f08042a4eab32ad0126542b40849208eae88f61c9dc625abe34b70b6453a7f
Contents?: true
Size: 198 Bytes
Versions: 19
Compression:
Stored size: 198 Bytes
Contents
class Struct # Returns a hash containing the names and values for all instance variables in the Struct. def attributes h = {} each_pair { |k,v| h[k] = v } h end end # class Struct
Version data entries
19 entries across 19 versions & 4 rubygems