Class: Tapioca::Gem::MethodNodeAdded

Inherits:
NodeAdded show all
Extended by:
T::Sig
Defined in:
lib/tapioca/gem/events.rb

Instance Attribute Summary collapse

Attributes inherited from NodeAdded

#constant, #symbol

Instance Method Summary collapse

Constructor Details

#initialize(symbol, constant, method, node, signature, parameters) ⇒ MethodNodeAdded

rubocop:disable Metrics/ParameterLists



130
131
132
133
134
135
136
# File 'lib/tapioca/gem/events.rb', line 130

def initialize(symbol, constant, method, node, signature, parameters) # rubocop:disable Metrics/ParameterLists
  super(symbol, constant)
  @node = node
  @method = method
  @signature = signature
  @parameters = parameters
end

Instance Attribute Details

#methodObject (readonly)

Returns the value of attribute method.



109
110
111
# File 'lib/tapioca/gem/events.rb', line 109

def method
  @method
end

#nodeObject (readonly)

Returns the value of attribute node.



112
113
114
# File 'lib/tapioca/gem/events.rb', line 112

def node
  @node
end

#parametersObject (readonly)

Returns the value of attribute parameters.



118
119
120
# File 'lib/tapioca/gem/events.rb', line 118

def parameters
  @parameters
end

#signatureObject (readonly)

Returns the value of attribute signature.



115
116
117
# File 'lib/tapioca/gem/events.rb', line 115

def signature
  @signature
end