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



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

def initialize(symbol, constant)
  super
end

Instance Method Details

#constantObject

: -> Module



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

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