2010-12-15から1日間の記事一覧
def show_all_methods(o = Object) o = eval(o) if o.class == String all = [] o.methods.each do |m| begin all << o.method(m).call if m.to_s.include? "methods" rescue ArgumentError next end end all.flatten.uniq.sort end p show_all_methods ARGV…