2008-10-18から1日間の記事一覧
個人備忘です class Test end # define class method class << Test def hello p "hello class" end end # define instance method class Test def hello2 p "hello2 instance" end end # wanna create Class by string klass = Object.const_get("Test") kl…