Class: SchemaTest::Property::String
- Inherits:
-
SchemaTest::Property
- Object
- SchemaTest::Property
- SchemaTest::Property::String
- Defined in:
- lib/schema_test/property.rb
Direct Known Subclasses
Constant Summary
Constants inherited from SchemaTest::Property
Instance Attribute Summary
Attributes inherited from SchemaTest::Property
Instance Method Summary collapse
-
#initialize(name, description = nil) ⇒ String
constructor
A new instance of String.
Methods inherited from SchemaTest::Property
#==, #as_json_schema, #base_json_schema_type, #json_schema_format, #json_schema_type, #lookup_object, #nullable, #nullable!, #nullable?, #optional, #optional!, #optional?, #type
Constructor Details
#initialize(name, description = nil) ⇒ String
Returns a new instance of String.
109 110 111 |
# File 'lib/schema_test/property.rb', line 109 def initialize(name, description=nil) super(name, :string, description) end |