Class: Steep::Signature::Errors::InvalidSelfType
- Defined in:
- lib/steep/signature/errors.rb
Instance Attribute Summary collapse
-
#member ⇒ Object
readonly
Returns the value of attribute member.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(signature:, member:) ⇒ InvalidSelfType
constructor
A new instance of InvalidSelfType.
- #puts(io) ⇒ Object
Constructor Details
#initialize(signature:, member:) ⇒ InvalidSelfType
Returns a new instance of InvalidSelfType.
71 72 73 74 |
# File 'lib/steep/signature/errors.rb', line 71 def initialize(signature:, member:) super(signature: signature) @member = member end |
Instance Attribute Details
#member ⇒ Object (readonly)
Returns the value of attribute member.
69 70 71 |
# File 'lib/steep/signature/errors.rb', line 69 def member @member end |
Instance Method Details
#puts(io) ⇒ Object
77 78 79 |
# File 'lib/steep/signature/errors.rb', line 77 def puts(io) io.puts "InvalidSelfType: signature=#{signature.name}, module=#{member.name}" end |