Class: SchemaTest::Property::Integer
- Inherits:
-
SchemaTest::Property
- Object
- SchemaTest::Property
- SchemaTest::Property::Integer
- 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) ⇒ Integer
constructor
A new instance of Integer.
Methods inherited from SchemaTest::Property
#==, #as_json_schema, #as_structure, #json_schema_format, #json_schema_type, #optional!, #optional?
Constructor Details
#initialize(name, description = nil) ⇒ Integer
Returns a new instance of Integer.
57 58 59 |
# File 'lib/schema_test/property.rb', line 57 def initialize(name, description=nil) super(name, :integer, description) end |