Class: Steep::Signature::Errors::UnknownTypeName
- Defined in:
- lib/steep/signature/errors.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(signature:, type:) ⇒ UnknownTypeName
constructor
A new instance of UnknownTypeName.
- #puts(io) ⇒ Object
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
#type ⇒ Object (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 |