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

: (String symbol, Module constant, RBI::Scope node) -> void



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

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

Instance Attribute Details

#nodeObject (readonly)

: RBI::Scope



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

def node
  @node
end