Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/mumuki/classroom/models/concerns/extensions.rb

Instance Method Summary collapse

Instance Method Details

#boolean_valueObject



69
70
71
# File 'lib/mumuki/classroom/models/concerns/extensions.rb', line 69

def boolean_value
  downcase.strip == 'true'
end