class NRSER::Types::Union
Union
combinator. (`union`, `one_of`, `or`, `|`).
Constants
- JOIN_SYMBOL
Public Instance Methods
test?(value)
click to toggle source
# File lib/nrser/types/combinators.rb, line 216 def test? value @types.any? { |type| type.test value } end