class String

Extends the String class by mixing in the symbolize module.

Public Instance Methods

symbolize() click to toggle source

@example Symbolize a string using the String object method

"hello world!".symbolize #=> :hello_world
# File lib/simple_symbolize/string.rb, line 7
def symbolize
  SimpleSymbolize.symbolize(self)
end