简单类型 / 布尔

strValue = "true"
boolValue = strValue.downcase == "true"
# boolValue is True

puts "boolValue is #{boolValue}"