Class: Steep::Signature::Errors::InvalidTypeApplication
- Defined in:
- lib/steep/signature/errors.rb
Instance Attribute Summary collapse
-
#type_args ⇒ Object
readonly
Returns the value of attribute type_args.
-
#type_name ⇒ Object
readonly
Returns the value of attribute type_name.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(signature:, type_name:, type_args:) ⇒ InvalidTypeApplication
constructor
A new instance of InvalidTypeApplication.
- #puts(io) ⇒ Object
Constructor Details
#initialize(signature:, type_name:, type_args:) ⇒ InvalidTypeApplication
Returns a new instance of InvalidTypeApplication.
57 58 59 60 61 |
# File 'lib/steep/signature/errors.rb', line 57 def initialize(signature:, type_name:, type_args:) super(signature: signature) @type_name = type_name @type_args = type_args end |
Instance Attribute Details
#type_args ⇒ Object (readonly)
Returns the value of attribute type_args.
55 56 57 |
# File 'lib/steep/signature/errors.rb', line 55 def type_args @type_args end |
#type_name ⇒ Object (readonly)
Returns the value of attribute type_name.
54 55 56 |
# File 'lib/steep/signature/errors.rb', line 54 def type_name @type_name end |
Instance Method Details
#puts(io) ⇒ Object
63 64 65 |
# File 'lib/steep/signature/errors.rb', line 63 def puts(io) io.puts "InvalidTypeApplication: signature=#{signature.name}, type_name=#{type_name}, type_args=#{type_args}" end |