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

Returns a new instance of ConstNodeAdded.



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

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

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node.



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

def node
  @node
end