Rails2.2ã§ãªãã¨Arrayãªãã¸ã§ã¯ãã®ã¢ã¯ã»ãµã¨ãã¦#second ã #tenthãªãã¦ã®ãã§ãã¡ãã£ããã ãããåããã¨æããã© ary.second 㯠ary[1] ã¨åãã§ãary.tenth ã¯ary[9] ã¨åãã æ£ç´ããã«ã¯ãã£ãããããDHHã«ãã¦ã¯ä¸éå端ã¨è¨ãã»ããªãããªãã§10thã¾ã§ãªãã ãããã®ç¨åº¦ããå ¨ç¶ãããã¼ãã ãããªãããã ãï¼ $ irb >> require 'array_ordinal_accessor' => true >> array = (1..200000).to_a ..snip.. >> array.seventy_third => 73 >> array.three_hundred_and_nineth => 309 >> array.one_hundred_thirty_two_thousand_six_hundred
{{#tags}}- {{label}}
{{/tags}}