Class: Steep::AST::Signature::Members::Include
- Inherits:
-
Object
- Object
- Steep::AST::Signature::Members::Include
- Defined in:
- lib/steep/ast/signature/members.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(location:, name:, args:) ⇒ Include
constructor
A new instance of Include.
Constructor Details
#initialize(location:, name:, args:) ⇒ Include
Returns a new instance of Include.
10 11 12 13 14 |
# File 'lib/steep/ast/signature/members.rb', line 10 def initialize(location:, name:, args:) @location = location @name = name @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
8 9 10 |
# File 'lib/steep/ast/signature/members.rb', line 8 def args @args end |
#location ⇒ Object (readonly)
Returns the value of attribute location.
6 7 8 |
# File 'lib/steep/ast/signature/members.rb', line 6 def location @location end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/steep/ast/signature/members.rb', line 7 def name @name end |