Class: Tapioca::Gem::ScopeNodeAdded

Inherits:
NodeAdded show all
Extended by:
T::Sig
Defined in:
lib/tapioca/gem/events.rb

Direct Known Subclasses

ForeignScopeNodeAdded

Instance Attribute Summary collapse

Attributes inherited from NodeAdded

#constant, #symbol

Instance Method Summary collapse

Constructor Details

#initialize(symbol, constant, node) ⇒ ScopeNodeAdded

Returns a new instance of ScopeNodeAdded.



97
98
99
100
# File 'lib/tapioca/gem/events.rb', line 97

def initialize(symbol, constant, node)
  super(symbol, constant)
  @node = node
end

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node.



94
95
96
# File 'lib/tapioca/gem/events.rb', line 94

def node
  @node
end