rubyãªã³ã°ã«ãåå ãããã¨ã§ãããããä»æ¥ã¯rubyãã¿ã ãPythonã§ã®ã¡ã¿ã¯ã©ã¹ã»ããã°ã©ãã³ã°ã(http://www-06.ibm.com/jp/developerworks/linux/030425/j_l-pymeta.html)ãèªãã§ããµã¨ãRubyã§ã¡ã¿ã£ã½ããã¨ãã£ããã©ãã¾ã§åºæ¥ãããªããã¨æã£ãã®ã§ããããã試ãã¦ã¿ããçµå±ãæååãevalãããã¨ããªããdefæ§æãclassæ§æãmoduleæ§æã使ããã¨ãªããåçã«ã¯ã©ã¹ãçæã§ããã¨ããã¾ã§è¡ãçããã®ã§ãç´¹ä»ã ã¡ã¿ãªãããã®èª¬æã¯å¾ã«ãã¦ãã¾ãã¯ãµã³ãã«ããããªã³ã¼ããæ¸ããããã«ãªãã #ã¯ã©ã¹å®ç¾© Def_class.call( "Counter",nil, proc {attr_reader :count}, { :initialize=>proc {|count|@count = cou
{{#tags}}- {{label}}
{{/tags}}