module Fixcase

Constants

VERSION

Public Instance Methods

fixcase() click to toggle source
# File lib/fixcase.rb, line 6
def fixcase
  if [upcase,downcase].include?(self)
    titleize
  else
    self
  end
end