Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/ext/symbol.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#to_underscore_symObject



2
3
4
# File 'lib/ext/symbol.rb', line 2

def to_underscore_sym
  self.to_s.titleize.gsub(/\s+/, '').underscore.to_sym
end