Class: Tapioca::Gem::ScopeNodeAdded

Inherits:
NodeAdded show all
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, T::Module constant, RBI::Scope node) -> void



83
84
85
86
# File 'lib/tapioca/gem/events.rb', line 83

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

Instance Attribute Details

#nodeObject (readonly)

: RBI::Scope



80
81
82
# File 'lib/tapioca/gem/events.rb', line 80

def node
  @node
end