以ä¸ã¯ Pete Lacey æ°ã«ãã Idiomatic Dynamic Ruby ã®æ訳ï¼ã¨ãããè¶ è¨³ï½¥ï½¥ï½¥ï¼ã§ãã誤ããã¿ã¤ããªã©ããæ°ã¥ãã®ç¹ã¯ãæ示ãã ããã Ruby ã®åçãªç¹æ§ãç解ããã«ã¯ãRuby ã®ãªãã¸ã§ã¯ãçæãå®éã«ãã¬ã¼ã¹ãã¦ããã®ãè¿éã ãããã«ããã class Test puts "1. åºåºã¯ã©ã¹å ãå ¨ã¦ã®ã¡ã½ããã®å¤å´ã" + "object ID 㯠#{self.object_id}" def meth puts "9. åºåºã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã¡ã½ããå ã" + "object ID 㯠#{self.object_id}" end class << self puts "2. åºåºã¯ã©ã¹ã®ç¹ç°ã¯ã©ã¹å ã" + "object ID 㯠#{self.object_id}" def meth2 puts "4. åºåºã¯ã©ã¹ã®ã¯ã©ã¹ã¡ã½ããå ã"
{{#tags}}- {{label}}
{{/tags}}