Class: Steep::AST::Signature::SuperClass
- Inherits:
-
Object
- Object
- Steep::AST::Signature::SuperClass
- Defined in:
- lib/steep/ast/signature/class.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name:, args:, location:) ⇒ SuperClass
constructor
A new instance of SuperClass.
Constructor Details
#initialize(name:, args:, location:) ⇒ SuperClass
Returns a new instance of SuperClass.
9 10 11 12 13 |
# File 'lib/steep/ast/signature/class.rb', line 9 def initialize(name:, args:, location:) @name = name @args = args @location = location end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
7 8 9 |
# File 'lib/steep/ast/signature/class.rb', line 7 def args @args end |
#location ⇒ Object (readonly)
Returns the value of attribute location.
5 6 7 |
# File 'lib/steep/ast/signature/class.rb', line 5 def location @location end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/steep/ast/signature/class.rb', line 6 def name @name end |