Wintus
5/18/2017 - 6:46 AM

Ruby playground

Ruby playground

def false.!
  false
end

p bool = false
p [bool, ! bool]

p(
  if bool
    :true
  elsif ! bool
    :false
  else
    :unreachable
  end
)