lib/pluggy/convenience_refinements.rb
# Un-underscore a string.
#
# @todo Capitolize really only works post ruby2.3, so it might be good to
# test it in pre-2.3 versions
Un-underscore a string.
Un - underscore a string .
def titleize
        split(/ |\_|\-/)
          .map(&:capitalize)
          .join
      end
def titleize split ( /  | \_ | \- / ) . map ( & :capitalize ) . join end
Un-underscore a string.
Un - underscore a string .
todo
Capitolize really only works post ruby2.3, so it might be good to test it in pre-2.3 versions
Capitolize really only works post ruby2 . 3 so it might be good to test it in pre - 2 . 3 versions