[Source]
# File lib/jcon/types.rb, line 48 48: def initialize(types); @types = Types.to_types(types); end
# File lib/jcon/conformance.rb, line 37 37: def contains?(value) 38: types.any? do |type| type.contains?(value) end 39: end
# File lib/jcon/types.rb, line 49 49: def to_s; "(#{types.join(', ')})"; end
[Validate]