Class: Steep::AST::Signature::SuperClass

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argsObject (readonly)

Returns the value of attribute args.



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

def args
  @args
end

#locationObject (readonly)

Returns the value of attribute location.



5
6
7
# File 'lib/steep/ast/signature/class.rb', line 5

def location
  @location
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end