Class: Fluent::Json::Schema::Terms::Int
- Defined in:
- lib/fluent/json/schema/terms/int.rb
Instance Attribute Summary
Attributes inherited from Num
#exclusive_maximum, #exclusive_minimum, #maximum, #minimum, #multiple_of, #type
Attributes inherited from Field
#constraints, #default, #enum, #name, #required, #version
Instance Method Summary collapse
-
#initialize(name) ⇒ Int
constructor
A new instance of Int.
Methods inherited from Num
Methods inherited from Field
#as_json, #mandate, #optionalise, #set
Constructor Details
#initialize(name) ⇒ Int
Returns a new instance of Int.
6 7 8 |
# File 'lib/fluent/json/schema/terms/int.rb', line 6 def initialize(name) super(name, :integer) end |