çã åç·å°ã®æ§æ½è¨ã¯ééãã¾ãããå¸å ã®ä»æ½è¨ããªã³ã©ã¤ã³çã§ã ã¢ã¦ããªã¼ãå½¢å¼ã§ã®å±è¦§ä¼ãã¯ã¼ã¯ã·ã§ããçãéå¬ãã¦ãã¾ãã
â [ruby][prog] Hello Worldã®æ¬¡ã«ä½ãæ¸ãã°ãããã«ã¤ã㦠ãã£ã±ãHello Worldãããªãã§ãããï¼ puts "Hello, world!" Arrayã使ã£ãHello World ary = ["Hello", "world!"] puts ary.join(" ") Hashã使ã£ãHello World hash = {:greet => "Hello", :to => "world"} puts "#{hash[:greet]}, #{hash[:to]}!" Enumerableã使ã£ãHello World chars = %w(H e l l o , \ w o r l d ! \ ) chars.each{|c| print c } ããããæãã§100åãããæ¸ãã¨ããç·´ç¿ã«ãªãããããªããã¨æã£ãã ããããªã¡ã½ããã使ã£ã¦ã¿ãã®ãç®
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}