# File lib/facets/core/string/methodize.rb, line 18 def methodize to_s.gsub(/([A-Z])/, '_\1').downcase.gsub(/^_/,'').gsub(/(::|\/)_?/, '__') end