Class: Tapioca::Gem::ConstNodeAdded

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



72
73
74
75
# File 'lib/tapioca/gem/events.rb', line 72

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

Instance Attribute Details

#nodeObject (readonly)

: RBI::Const



69
70
71
# File 'lib/tapioca/gem/events.rb', line 69

def node
  @node
end