Class: SoberSwag::Nodes::NullablePrimitive

Inherits:
Primitive show all
Defined in:
lib/sober_swag/nodes/nullable_primitive.rb

Overview

Exactly like a Primitive node, except it can be null. @todo: make this a boolean parameter of Primitive

Instance Attribute Summary

Attributes inherited from Primitive

#metadata, #value

Method Summary

Methods inherited from Primitive

#cata, #deconstruct, #deconstruct_keys, #initialize, #map

Methods inherited from Base

#<=>, #cata, #eql?, #hash, #map

Constructor Details

This class inherits a constructor from SoberSwag::Nodes::Primitive