Class: Steep::Signature::Errors::UnknownTypeName

Inherits:
Base
  • Object
show all
Defined in:
lib/steep/signature/errors.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#signature

Instance Method Summary collapse

Constructor Details

#initialize(signature:, type:) ⇒ UnknownTypeName

Returns a new instance of UnknownTypeName.



21
22
23
24
# File 'lib/steep/signature/errors.rb', line 21

def initialize(signature:, type:)
  super(signature: signature)
  @type = type
end

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



19
20
21
# File 'lib/steep/signature/errors.rb', line 19

def type
  @type
end

Instance Method Details

#puts(io) ⇒ Object



26
27
28
# File 'lib/steep/signature/errors.rb', line 26

def puts(io)
  io.puts "UnknownTypeName: signature=#{signature.name}, type=#{type}"
end