Class: Tapioca::Gem::ConstantFound
- Extended by:
- T::Sig
- Defined in:
- lib/tapioca/gem/events.rb
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.
38 39 40 41 42 |
# File 'lib/tapioca/gem/events.rb', line 38 def initialize(symbol, constant) super() @symbol = symbol @constant = constant end |
Instance Attribute Details
#constant ⇒ Object (readonly)
Returns the value of attribute constant.
35 36 37 |
# File 'lib/tapioca/gem/events.rb', line 35 def constant @constant end |
#symbol ⇒ Object (readonly)
Returns the value of attribute symbol.
32 33 34 |
# File 'lib/tapioca/gem/events.rb', line 32 def symbol @symbol end |