Module: Kind::Hash
- Extended by:
- Hash, Object
- Included in:
- Hash
- Defined in:
- lib/kind/objects/modules/core/hash.rb
Instance Method Summary
collapse
Methods included from Object
===, inspect, name
#|
#maybe
#[], #or, #or_nil, #or_null, #or_undefined, #value, #value?
Instance Method Details
7
|
# File 'lib/kind/objects/modules/core/hash.rb', line 7
def kind; ::Hash; end
|
#value_or_empty(arg) ⇒ Object
Also known as:
empty_or
9
10
11
|
# File 'lib/kind/objects/modules/core/hash.rb', line 9
def value_or_empty(arg)
KIND.value(self, arg, Empty::HASH)
end
|