Class: SchemaTest::Property::Boolean
- Inherits:
-
SchemaTest::Property
- Object
- SchemaTest::Property
- SchemaTest::Property::Boolean
- Defined in:
- lib/schema_test/property.rb
Instance Attribute Summary
Attributes inherited from SchemaTest::Property
#description, #name, #optional, #type
Instance Method Summary collapse
-
#initialize(name, description = nil) ⇒ Boolean
constructor
A new instance of Boolean.
Methods inherited from SchemaTest::Property
#==, #as_json_schema, #as_structure, #json_schema_format, #json_schema_type, #optional!, #optional?
Constructor Details
#initialize(name, description = nil) ⇒ Boolean
Returns a new instance of Boolean.
51 52 53 |
# File 'lib/schema_test/property.rb', line 51 def initialize(name, description=nil) super(name, :boolean, description) end |