Class: Yard2steep::Type::ArrayType
- Defined in:
- lib/yard2steep/type/ast.rb
Instance Method Summary collapse
-
#initialize(type:) ⇒ ArrayType
constructor
A new instance of ArrayType.
- #to_s ⇒ String
Constructor Details
#initialize(type:) ⇒ ArrayType
Returns a new instance of ArrayType.
29 30 31 |
# File 'lib/yard2steep/type/ast.rb', line 29 def initialize(type:) @type = type end |
Instance Method Details
#to_s ⇒ String
34 35 36 |
# File 'lib/yard2steep/type/ast.rb', line 34 def to_s "Array<#{@type}>" end |