Module: HashExtend
- Included in:
- Hash
- Defined in:
- lib/hash_extend.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(receiver) ⇒ Object
17 18 19 20 |
# File 'lib/hash_extend.rb', line 17 def self.included(receiver) receiver.extend ClassMethods receiver.send :include, InstanceMethods end |