class SchemaTest::Property::Float

Public Class Methods

new(name, description=nil) click to toggle source
Calls superclass method SchemaTest::Property::new
# File lib/schema_test/property.rb, line 63
def initialize(name, description=nil)
  super(name, :float, description)
end

Public Instance Methods

json_schema_type() click to toggle source
# File lib/schema_test/property.rb, line 67
def json_schema_type
  'number'
end