Class: Tapioca::Gem::ForeignConstantFound

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

Instance Attribute Summary

Attributes inherited from ConstantFound

#symbol

Instance Method Summary collapse

Constructor Details

#initialize(symbol, constant) ⇒ ForeignConstantFound

Returns a new instance of ForeignConstantFound.



52
53
54
# File 'lib/tapioca/gem/events.rb', line 52

def initialize(symbol, constant)
  super
end

Instance Method Details

#constantObject



47
48
49
# File 'lib/tapioca/gem/events.rb', line 47

def constant
  T.cast(@constant, Module)
end