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

: (String symbol, Module constant) -> void



55
56
57
# File 'lib/tapioca/gem/events.rb', line 55

def initialize(symbol, constant)
  super
end

Instance Method Details

#constantObject

: -> Module



50
51
52
# File 'lib/tapioca/gem/events.rb', line 50

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