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
: BasicObject.
-
#symbol ⇒ Object
readonly
: String.
Instance Method Summary collapse
-
#initialize(symbol, constant) ⇒ ConstantFound
constructor
: (String symbol, BasicObject constant) -> void.
Constructor Details
#initialize(symbol, constant) ⇒ ConstantFound
: (String symbol, BasicObject constant) -> void
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)
: BasicObject
32 33 34 |
# File 'lib/tapioca/gem/events.rb', line 32 def constant @constant end |
#symbol ⇒ Object (readonly)
: String
28 29 30 |
# File 'lib/tapioca/gem/events.rb', line 28 def symbol @symbol end |