# File lib/rdoc/ri/driver.rb, line 1048 def method_type selector case selector when '.', nil then :both when '#' then :instance else :class end end