Class: Tapioca::Gem::NodeAdded
- Extended by:
- T::Helpers, 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) ⇒ NodeAdded
constructor
A new instance of NodeAdded.
Constructor Details
#initialize(symbol, constant) ⇒ NodeAdded
Returns a new instance of NodeAdded.
70 71 72 73 74 |
# File 'lib/tapioca/gem/events.rb', line 70 def initialize(symbol, constant) super() @symbol = symbol @constant = constant end |
Instance Attribute Details
#constant ⇒ Object (readonly)
Returns the value of attribute constant.
67 68 69 |
# File 'lib/tapioca/gem/events.rb', line 67 def constant @constant end |
#symbol ⇒ Object (readonly)
Returns the value of attribute symbol.
64 65 66 |
# File 'lib/tapioca/gem/events.rb', line 64 def symbol @symbol end |