1.9.3-p286 :039 > (0...x.right.first.chem_species.size).each do |atom|
1.9.3-p286 :040 > puts x.right.first.chem_species[atom]
1.9.3-p286 :041?> end
H
2
O
1
=> 0...2
1.9.3-p286 :042 > x.right.first.chem_species[0]
=> ["H", 2]
1.9.3-p286 :043 >
为什么 puts 不输出
["H",2]
then ["O",1]
。(作为第二种方法返回)。这似乎不对