Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/user-choices/ruby-extensions.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#to_inputable_symObject



16
17
18
# File 'lib/user-choices/ruby-extensions.rb', line 16

def to_inputable_sym
  gsub(/-/, '_').to_sym
end