Object.try on false

Just a small fix to get try working on false, since it is often a return value instead of nil
–> false.try(:xxx) == nil

class FalseClass
  def try(x)
    nil
  end
end

Leave a comment