Class: Tapioca::Gem::ConstNodeAdded
- Extended by:
- T::Sig
- Defined in:
- lib/tapioca/gem/events.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Attributes inherited from NodeAdded
Instance Method Summary collapse
-
#initialize(symbol, constant, node) ⇒ ConstNodeAdded
constructor
A new instance of ConstNodeAdded.
Constructor Details
#initialize(symbol, constant, node) ⇒ ConstNodeAdded
Returns a new instance of ConstNodeAdded.
84 85 86 87 |
# File 'lib/tapioca/gem/events.rb', line 84 def initialize(symbol, constant, node) super(symbol, constant) @node = node end |
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
81 82 83 |
# File 'lib/tapioca/gem/events.rb', line 81 def node @node end |