Sha256: b514ba2dbd2831a703419bbaec60406069062c8e90536a27c30795b4f3b77165
Contents?: true
Size: 156 Bytes
Versions: 26
Compression:
Stored size: 156 Bytes
Contents
class Object def define_attribute(sym, value) (class << self; self; end).class_eval do define_method(sym) { value } end value end end
Version data entries
26 entries across 26 versions & 2 rubygems