Class: Steep::AST::Signature::Members::Include

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:) ⇒ 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

#argsObject (readonly)

Returns the value of attribute args.



8
9
10
# File 'lib/steep/ast/signature/members.rb', line 8

def args
  @args
end

#locationObject (readonly)

Returns the value of attribute location.



6
7
8
# File 'lib/steep/ast/signature/members.rb', line 6

def location
  @location
end

#nameObject (readonly)

Returns the value of attribute name.



7
8
9
# File 'lib/steep/ast/signature/members.rb', line 7

def name
  @name
end