Class: Yard2steep::Type::NormalType

Inherits:
TypeBase
  • Object
show all
Defined in:
lib/yard2steep/type/ast.rb

Instance Method Summary collapse

Constructor Details

#initialize(type:) ⇒ NormalType

Returns a new instance of NormalType.

Parameters:

  • type (String)


18
19
20
# File 'lib/yard2steep/type/ast.rb', line 18

def initialize(type:)
  @type = type
end

Instance Method Details

#to_sObject



22
23
24
# File 'lib/yard2steep/type/ast.rb', line 22

def to_s
  @type
end