Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/scale_rb/utils.rb
Instance Method Summary collapse
-
#_get(*keys) ⇒ Object | NilClass
Get the value from the hash.
-
#_key?(key) ⇒ Boolean
Check if the key exists in the hash.
Instance Method Details
permalink #_get(*keys) ⇒ Object | NilClass
Get the value from the hash
14 15 16 |
# File 'lib/scale_rb/utils.rb', line 14 def _get(*keys) ScaleRb::Utils.get(self, *keys) end |
permalink #_key?(key) ⇒ Boolean
Check if the key exists in the hash
7 8 9 |
# File 'lib/scale_rb/utils.rb', line 7 def _key?(key) ScaleRb::Utils.key?(self, key) end |