Class: Tapioca::Gem::MethodNodeAdded
- Extended by:
- T::Sig
- Defined in:
- lib/tapioca/gem/events.rb
Instance Attribute Summary collapse
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#node ⇒ Object
readonly
Returns the value of attribute node.
-
#parameters ⇒ Object
readonly
Returns the value of attribute parameters.
-
#signature ⇒ Object
readonly
Returns the value of attribute signature.
Attributes inherited from NodeAdded
Instance Method Summary collapse
-
#initialize(symbol, constant, method, node, signature, parameters) ⇒ MethodNodeAdded
constructor
rubocop:disable Metrics/ParameterLists.
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
#method ⇒ Object (readonly)
Returns the value of attribute method.
109 110 111 |
# File 'lib/tapioca/gem/events.rb', line 109 def method @method end |
#node ⇒ Object (readonly)
Returns the value of attribute node.
112 113 114 |
# File 'lib/tapioca/gem/events.rb', line 112 def node @node end |
#parameters ⇒ Object (readonly)
Returns the value of attribute parameters.
118 119 120 |
# File 'lib/tapioca/gem/events.rb', line 118 def parameters @parameters end |
#signature ⇒ Object (readonly)
Returns the value of attribute signature.
115 116 117 |
# File 'lib/tapioca/gem/events.rb', line 115 def signature @signature end |