2014-09-29から1日間の記事一覧
概要 Object#method(name) -> Method 詳細 オブジェクトのメソッド name をオブジェクト化した Method オブジェクトを返却。 サンプルコード require 'tbpgr_utils' class Hoge def hoge(repeat) 'hoge'*repeat end end hoge_method = Hoge.new.method(:hoge…
概要 Object#method(name) -> Method 詳細 オブジェクトのメソッド name をオブジェクト化した Method オブジェクトを返却。 サンプルコード require 'tbpgr_utils' class Hoge def hoge(repeat) 'hoge'*repeat end end hoge_method = Hoge.new.method(:hoge…