Module: Hashmake
- Defined in:
- lib/hashmake/version.rb,
lib/hashmake/arg_spec.rb,
lib/hashmake/hash_arg_spec.rb,
lib/hashmake/hash_makeable.rb,
lib/hashmake/array_arg_spec.rb
Overview
This module provides the outer namespace of the hashmake gem.
Defined Under Namespace
Modules: HashMakeable Classes: ArgSpec, ArrayArgSpec, HashArgSpec
Constant Summary collapse
- VERSION =
hashmake version
"0.2.1"
Class Method Summary collapse
-
.hash_makeable?(klass) ⇒ Boolean
Determine if a class includes the HashMakeable module.
Class Method Details
.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 |