Class: Steep::AST::Signature::Members::Extend

Inherits:
Object
  • Object
show all
Defined in:
lib/steep/ast/signature/members.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(location:, name:, args:) ⇒ Extend

Returns a new instance of Extend.



22
23
24
25
26
# File 'lib/steep/ast/signature/members.rb', line 22

def initialize(location:, name:, args:)
  @location = location
  @name = name
  @args = args
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



20
21
22
# File 'lib/steep/ast/signature/members.rb', line 20

def args
  @args
end

#locationObject (readonly)

Returns the value of attribute location.



18
19
20
# File 'lib/steep/ast/signature/members.rb', line 18

def location
  @location
end

#nameObject (readonly)

Returns the value of attribute name.



19
20
21
# File 'lib/steep/ast/signature/members.rb', line 19

def name
  @name
end