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
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}