Runtime assertions for Ruby literal.fun
ruby
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Union#=== should return `false` rather than `nil` when it doesn’t match

+2
+2
lib/literal/types/union_type.rb
··· 46 46 return true if types[i] === value 47 47 i += 1 48 48 end 49 + 50 + false 49 51 end 50 52 51 53 def each(&)