Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/nukumber/helpers.rb

Instance Method Summary collapse

Instance Method Details

#nukesymObject



2
3
4
# File 'lib/nukumber/helpers.rb', line 2

def nukesym
  self.downcase.gsub(/\W/, '_').to_sym
end