Rubinowy sznur do boolean
def true?(obj)
obj.to_s.downcase == "true"
end
Lioruby
def true?(obj)
obj.to_s.downcase == "true"
end