Class: Tapioca::Gem::MethodNodeAdded
- Extended by:
- T::Sig
- Defined in:
- lib/tapioca/gem/events.rb
Instance Attribute Summary collapse
-
#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, node, signature, parameters) ⇒ MethodNodeAdded
constructor
A new instance of MethodNodeAdded.
Constructor Details
#initialize(symbol, constant, node, signature, parameters) ⇒ MethodNodeAdded
Returns a new instance of MethodNodeAdded.
112 113 114 115 116 117 |
# File 'lib/tapioca/gem/events.rb', line 112 def initialize(symbol, constant, node, signature, parameters) super(symbol, constant) @node = node @signature = signature @parameters = parameters end |
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
95 96 97 |
# File 'lib/tapioca/gem/events.rb', line 95 def node @node end |
#parameters ⇒ Object (readonly)
Returns the value of attribute parameters.
101 102 103 |
# File 'lib/tapioca/gem/events.rb', line 101 def parameters @parameters end |
#signature ⇒ Object (readonly)
Returns the value of attribute signature.
98 99 100 |
# File 'lib/tapioca/gem/events.rb', line 98 def signature @signature end |