# File lib/rd/rdvisitor.rb, line 58 def analize_method(method) klass = nil args = nil kind = nil if /[^{(\s]+/ =~ method method = $& args = $' # ' end if /^(.*)(#|::|\.)/ =~ method klass = $1 kind = str2kind($2) method = $' # ' end if klass == "function" and kind == :instance_method kind = :function end [klass, kind, method, args] end