class String

Public Instance Methods

remove_extension() click to toggle source
# File lib/seo_attachment/string.rb, line 3
def remove_extension
  File.basename(self, '.*')
end