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
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)
: BasicObject
34 35 36 |
# File 'lib/tapioca/gem/events.rb', line 34 def constant @constant end |
#symbol ⇒ Object (readonly)
: String
30 31 32 |
# File 'lib/tapioca/gem/events.rb', line 30 def symbol @symbol end |