Project

General

Profile

Bug #13148 ยป doc_dig.patch

stomar (Marcus Stollsteimer), 01/22/2017 09:23 PM

View differences:

hash.c
2874 2874
 * call-seq:
2875 2875
 *   hsh.dig(key, ...)                 -> object
2876 2876
 *
2877
 * Extracts the nested value specified by the sequence of <i>idx</i>
2877
 * Extracts the nested value specified by the sequence of <i>key</i>
2878 2878
 * objects by calling +dig+ at each step, returning +nil+ if any
2879 2879
 * intermediate step is +nil+.
2880 2880
 *
struct.c
1136 1136
 * call-seq:
1137 1137
 *   struct.dig(key, ...)              -> object
1138 1138
 *
1139
 * Extracts the nested value specified by the sequence of <i>idx</i>
1139
 * Extracts the nested value specified by the sequence of <i>key</i>
1140 1140
 * objects by calling +dig+ at each step, returning +nil+ if any
1141 1141
 * intermediate step is +nil+.
1142 1142
 *