# File lib/fastri/util.rb, line 114 def change_query_method_type(query) if md = /\A(.*)(#|\.|::)([^#.:]+)\z/.match(query) namespace, sep, meth = md.captures case sep when /::/ then "#{namespace}##{meth}" when /#/ then "#{namespace}::#{meth}" else query end else query end end