Bug #13148 ยป doc_dig.patch
hash.c | ||
---|---|---|
* call-seq:
|
||
* hsh.dig(key, ...) -> object
|
||
*
|
||
* Extracts the nested value specified by the sequence of <i>idx</i>
|
||
* Extracts the nested value specified by the sequence of <i>key</i>
|
||
* objects by calling +dig+ at each step, returning +nil+ if any
|
||
* intermediate step is +nil+.
|
||
*
|
struct.c | ||
---|---|---|
* call-seq:
|
||
* struct.dig(key, ...) -> object
|
||
*
|
||
* Extracts the nested value specified by the sequence of <i>idx</i>
|
||
* Extracts the nested value specified by the sequence of <i>key</i>
|
||
* objects by calling +dig+ at each step, returning +nil+ if any
|
||
* intermediate step is +nil+.
|
||
*
|