ok
Direktori : /opt/alt/ruby18/share/ri/1.8/system/MatchData/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/MatchData/values_at-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Uses each <em>index</em> to access the matching values, returning an array of the corresponding matches. - !ruby/struct:SM::Flow::VERB body: " m = /(.)(.)(\\d+)(\\d)/.match("THX1138: The Movie")\n m.to_a #=> ["HX1138", "H", "X", "113", "8"]\n m.values_at(0, 2, -2) #=> ["HX1138", "X", "113"]\n" full_name: MatchData#values_at is_singleton: false name: values_at params: | mtch.values_at([index]*) => array visibility: public