Class: Boolean

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

Class Method Summary collapse

Class Method Details

.importex_value(str) ⇒ Object



26
27
28
# File 'lib/importex/ruby_additions.rb', line 26

def self.importex_value(str)
  !["", "f", "F", "n", "N", "0"].include?(str)
end