Module: Useful::RubyExtensions::Hash

Included in:
Hash
Defined in:
lib/useful/ruby_extensions/hash.rb

Defined Under Namespace

Modules: ClassMethods, FromActivesupport, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



166
167
168
169
170
171
# File 'lib/useful/ruby_extensions/hash.rb', line 166

def self.included(receiver)
  receiver.extend         ClassMethods
  receiver.extend         FromActivesupport::ClassMethods
  receiver.send :include, InstanceMethods
  receiver.send :include, FromActivesupport::InstanceMethods
end