<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>yhl3692319</title>
    <link>https://ruby-china.org/yhl3692319</link>
    <description/>
    <language>en-us</language>
    <item>
      <title>新手请教一个简单的 ruby 问题——字符串输出某列</title>
      <description>&lt;p&gt;如有这么一个字符串&lt;/p&gt;
&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;span class="n"&gt;rs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"
        Interface                 PHY      Protocol  InUti  OutUti   inErrors  outErrors                                                    
        10GE1/0/1                  up       up        99.0% 99.0%                1          2                                                    
        10GE1/0/2                  up(l)    up           0%     0%                   0          0                                                    
        10GE1/0/3                  up(l)    up           0%     0%                  3          0                                                    
        10GE1/0/4                  up(l)    up        0.03%     0%                0          4"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;我要提取出 inErrors 和 outErrors 这两列的数据 并放入数组中   [["1", "2"], ["0", "0"], ["3", "0"], ["0", "4"]]&lt;/p&gt;

&lt;p&gt;我要怎么做 找不到 each_list。。。。。。&lt;/p&gt;</description>
      <author>yhl3692319</author>
      <pubDate>Fri, 15 May 2015 10:10:55 +0800</pubDate>
      <link>https://ruby-china.org/topics/25586</link>
      <guid>https://ruby-china.org/topics/25586</guid>
    </item>
  </channel>
</rss>
