Class: T::Array
- Inherits:
-
Object
- Object
- T::Array
- Defined in:
- lib/json_model/types/array.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type, **options) ⇒ Array
constructor
A new instance of Array.
- #to_type_spec ⇒ JsonModel::TypeSpec::Array
Constructor Details
#initialize(type, **options) ⇒ Array
Returns a new instance of Array.
7 8 9 10 |
# File 'lib/json_model/types/array.rb', line 7 def initialize(type, **) @type = type @options = end |