Class: Tapioca::Gem::MethodNodeAdded
- Extended by:
- T::Sig
- Defined in:
- lib/tapioca/gem/events.rb
Instance Attribute Summary collapse
-
#method ⇒ Object
readonly
: UnboundMethod.
-
#node ⇒ Object
readonly
: RBI::Method.
-
#parameters ⇒ Object
readonly
: Array[[Symbol, String]].
-
#signature ⇒ Object
readonly
: untyped.
Attributes inherited from NodeAdded
Instance Method Summary collapse
-
#initialize(symbol, constant, method, node, signature, parameters) ⇒ MethodNodeAdded
constructor
: (String symbol, Module constant, UnboundMethod method, RBI::Method node, untyped signature, Array[[Symbol, String]] parameters) -> void.
Constructor Details
#initialize(symbol, constant, method, node, signature, parameters) ⇒ MethodNodeAdded
: (String symbol, Module constant, UnboundMethod method, RBI::Method node, untyped signature, Array[[Symbol, String]] parameters) -> void
120 121 122 123 124 125 126 |
# File 'lib/tapioca/gem/events.rb', line 120 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)
: UnboundMethod
108 109 110 |
# File 'lib/tapioca/gem/events.rb', line 108 def method @method end |
#node ⇒ Object (readonly)
: RBI::Method
111 112 113 |
# File 'lib/tapioca/gem/events.rb', line 111 def node @node end |
#parameters ⇒ Object (readonly)
: Array[[Symbol, String]]
117 118 119 |
# File 'lib/tapioca/gem/events.rb', line 117 def parameters @parameters end |
#signature ⇒ Object (readonly)
: untyped
114 115 116 |
# File 'lib/tapioca/gem/events.rb', line 114 def signature @signature end |