Module: HashMan::Inclusion
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/hashman/inclusion.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
extend methods for class.
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
extend methods for class
13 14 15 |
# File 'lib/hashman/inclusion.rb', line 13 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#hash_id ⇒ Object
8 9 10 |
# File 'lib/hashman/inclusion.rb', line 8 def hash_id self.class.generate_hash_id(id) end |