Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/elucidate.rb
Instance Method Summary collapse
Instance Method Details
#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 |