Class: Tapioca::Gem::ConstantFound
- Extended by:
- T::Sig
- Defined in:
- lib/tapioca/gem/events.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#constant ⇒ Object
readonly
Returns the value of attribute constant.
-
#symbol ⇒ Object
readonly
Returns the value of attribute symbol.
Instance Method Summary collapse
-
#initialize(symbol, constant) ⇒ ConstantFound
constructor
A new instance of ConstantFound.
Constructor Details
#initialize(symbol, constant) ⇒ ConstantFound
Returns a new instance of ConstantFound.
36 37 38 39 40 |
# File 'lib/tapioca/gem/events.rb', line 36 def initialize(symbol, constant) super() @symbol = symbol @constant = constant end |
Instance Attribute Details
#constant ⇒ Object (readonly)
Returns the value of attribute constant.
33 34 35 |
# File 'lib/tapioca/gem/events.rb', line 33 def constant @constant end |
#symbol ⇒ Object (readonly)
Returns the value of attribute symbol.
30 31 32 |
# File 'lib/tapioca/gem/events.rb', line 30 def symbol @symbol end |