Method: String#english_to_code
- Defined in:
- lib/elucidate.rb
#english_to_code ⇒ Object
20 21 22 23 24 |
# File 'lib/elucidate.rb', line 20 def english_to_code test = downcase return nil if test.empty? || test == 'not set' test == 'yes' end |