Method: Hashmake.hash_makeable?
- Defined in:
- lib/hashmake/hash_makeable.rb
.hash_makeable?(klass) ⇒ Boolean
Determine if a class includes the HashMakeable module.
4 5 6 |
# File 'lib/hashmake/hash_makeable.rb', line 4 def self.hash_makeable? klass klass.included_modules.include?(HashMakeable) end |