Rubinschnur zu boolean

def true?(obj)
  obj.to_s.downcase == "true"
end
Lioruby