Sha256: beae155c140e61e7668cb5b07a324892b1816e4ccf5baa8077f686d636716115
Contents?: true
Size: 231 Bytes
Versions: 45
Compression:
Stored size: 231 Bytes
Contents
require 'test_helper' require 'tins/xt' module Tins class IfPredicateTest def test_if_predicate assert_equal :foo, true.if? && :foo assert_nil false.if? && :foo assert_nil nil.if? && :foo end end end
Version data entries
45 entries across 44 versions & 3 rubygems