Class: T::Integer
- Inherits:
-
Object
- Object
- T::Integer
- Defined in:
- lib/json_model/types/integer.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(**options) ⇒ Integer
constructor
A new instance of Integer.
- #to_type_spec ⇒ JsonModel::TypeSpec::Composition::Primitive::Integer
Constructor Details
#initialize(**options) ⇒ Integer
Returns a new instance of Integer.
6 7 8 |
# File 'lib/json_model/types/integer.rb', line 6 def initialize(**) @options = end |
Class Method Details
.[](**options) ⇒ T::Integer
18 19 20 |
# File 'lib/json_model/types/integer.rb', line 18 def [](**) Integer.new(**) end |