Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Includes:
- Hashery::CoreExt
- Defined in:
- lib/hashery/core_ext.rb,
lib/hashery/stash.rb,
lib/hashery/key_hash.rb
Overview
:nodoc:
Direct Known Subclasses
Hashery::CRUDHash, Hashery::OrderedHash, Hashery::PathHash, Hashery::PropertyHash, Hashery::StaticHash
Instance Method Summary (collapse)
-
- (Object) to_keyhash
Convert a Hash to a KeyHash object.
-
- (Object) to_stash
Convert Hash to Stash.
Methods included from Hashery::CoreExt
#rekey, #rekey!, #to_h, #to_hash
Instance Method Details
- (Object) to_keyhash
Convert a Hash to a KeyHash object.
62 63 64 |
# File 'lib/hashery/key_hash.rb', line 62 def to_keyhash Hashery::KeyHash[self] end |
- (Object) to_stash
Convert Hash to Stash.
10 11 12 |
# File 'lib/hashery/stash.rb', line 10 def to_stash Hashery::Stash[self] end |