Class: KVDAG::KeyPathHashProxy::KeyPath
- Inherits:
-
Array
- Object
- Array
- KVDAG::KeyPathHashProxy::KeyPath
- Defined in:
- lib/kvdag/keypathhash.rb
Instance Method Summary collapse
-
#initialize(keypath) ⇒ KeyPath
constructor
A new instance of KeyPath.
Constructor Details
#initialize(keypath) ⇒ KeyPath
Returns a new instance of KeyPath.
8 9 10 11 |
# File 'lib/kvdag/keypathhash.rb', line 8 def initialize(keypath) keypath = keypath.split('.') if keypath.is_a?(String) super end |