Class: Steep::AST::Signature::Members::MethodAlias
- Inherits:
-
Object
- Object
- Steep::AST::Signature::Members::MethodAlias
- Defined in:
- lib/steep/ast/signature/members.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#new_name ⇒ Object
readonly
Returns the value of attribute new_name.
-
#original_name ⇒ Object
readonly
Returns the value of attribute original_name.
Instance Method Summary collapse
-
#initialize(location:, new_name:, original_name:) ⇒ MethodAlias
constructor
A new instance of MethodAlias.
Constructor Details
#initialize(location:, new_name:, original_name:) ⇒ MethodAlias
Returns a new instance of MethodAlias.
106 107 108 109 110 |
# File 'lib/steep/ast/signature/members.rb', line 106 def initialize(location:, new_name:, original_name:) @location = location @new_name = new_name @original_name = original_name end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
102 103 104 |
# File 'lib/steep/ast/signature/members.rb', line 102 def location @location end |
#new_name ⇒ Object (readonly)
Returns the value of attribute new_name.
103 104 105 |
# File 'lib/steep/ast/signature/members.rb', line 103 def new_name @new_name end |
#original_name ⇒ Object (readonly)
Returns the value of attribute original_name.
104 105 106 |
# File 'lib/steep/ast/signature/members.rb', line 104 def original_name @original_name end |