Class: String

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

Instance Method Summary collapse

Instance Method Details

#english_to_codeObject



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