Sha256: 21279cfbb53d9316d8ad205c6ec0300c05e2aee19cf904288f79c5debd3e9861
Contents?: true
Size: 308 Bytes
Versions: 17
Compression:
Stored size: 308 Bytes
Contents
# require 'active_support/core_ext/class/inheritable_attributes.rb' require 'extlib/class' module Wukong # # Use to instrument an actual class to behave # module WukongClass def [](attr) self.send attr end def []=(attr, val) self.send("#{attr}=", val) end end end
Version data entries
17 entries across 17 versions & 1 rubygems