Class: Tapioca::Gem::ConstNodeAdded

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

Instance Attribute Summary collapse

Attributes inherited from NodeAdded

#constant, #symbol

Instance Method Summary collapse

Constructor Details

#initialize(symbol, constant, node) ⇒ ConstNodeAdded

: (String symbol, Module constant, RBI::Const 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::Const



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

def node
  @node
end