2 3 4
# File 'lib/redmine_extensions/core_ext/string.rb', line 2 def to_boolean ['true', 1, '1', 'yes', 't', 'y'].include?(self.downcase) end