Class: JsonStructure::Type
- Inherits:
-
Object
- Object
- JsonStructure::Type
show all
- Defined in:
- lib/json_structure/type.rb
Instance Method Summary
collapse
Instance Method Details
#=== ⇒ Object
3
4
5
|
# File 'lib/json_structure/type.rb', line 3
def ===(*)
false
end
|
#|(type) ⇒ Object
7
8
9
|
# File 'lib/json_structure/type.rb', line 7
def |(type)
AnyOf.new(self, type)
end
|