Class: Steep::AST::Signature::Members::Ivar
- Inherits:
-
Object
- Object
- Steep::AST::Signature::Members::Ivar
- Defined in:
- lib/steep/ast/signature/members.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(location:, name:, type:) ⇒ Ivar
constructor
A new instance of Ivar.
Constructor Details
#initialize(location:, name:, type:) ⇒ Ivar
Returns a new instance of Ivar.
62 63 64 65 66 |
# File 'lib/steep/ast/signature/members.rb', line 62 def initialize(location:, name:, type:) @location = location @name = name @type = type end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
58 59 60 |
# File 'lib/steep/ast/signature/members.rb', line 58 def location @location end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
59 60 61 |
# File 'lib/steep/ast/signature/members.rb', line 59 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
60 61 62 |
# File 'lib/steep/ast/signature/members.rb', line 60 def type @type end |