# File lib/rcodetools/doc.rb, line 119 def _doc(code, lineno, column=nil) find_method_analysis do |ma_file| methods = open(ma_file, "rb"){ |f| Marshal.load(f)} line = File.readlines(@filename)[lineno-1] current_method = line[ /^.{#{column}}\w*/][ /\w+[\?!]?$/ ].sub(/:+/,'') filename = @filename # FIXME begin methods[filename][lineno].grep(Regexp.new(Regexp.quote(current_method)))[0] rescue NoMethodError raise "doc/method_analyzer:cannot find #{current_method}" end end end