Module: ActsAsHashable::DslHook

Defined in:
lib/acts_as_hashable.rb

Overview

This module adds the class-level method that marks a class as hashable.

Instance Method Summary collapse

Instance Method Details

#acts_as_hashableObject



21
22
23
# File 'lib/acts_as_hashable.rb', line 21

def acts_as_hashable
  extend ::ActsAsHashable::Hashable
end

#acts_as_hashable_factoryObject



25
26
27
# File 'lib/acts_as_hashable.rb', line 25

def acts_as_hashable_factory
  extend ActsAsHashable::Factory
end