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
124 125 126 127 128 129 130 |
# File 'lib/tapioca/gem/events.rb', line 124 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
112 113 114 |
# File 'lib/tapioca/gem/events.rb', line 112 def method @method end |
#node ⇒ Object (readonly)
: RBI::Method
115 116 117 |
# File 'lib/tapioca/gem/events.rb', line 115 def node @node end |
#parameters ⇒ Object (readonly)
: Array[[Symbol, String]]
121 122 123 |
# File 'lib/tapioca/gem/events.rb', line 121 def parameters @parameters end |
#signature ⇒ Object (readonly)
: untyped
118 119 120 |
# File 'lib/tapioca/gem/events.rb', line 118 def signature @signature end |