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.
58 59 60 61 62 |
# File 'lib/tapioca/gem/events.rb', line 58 def initialize(symbol, constant) super() @symbol = symbol @constant = constant end |
Instance Attribute Details
#constant ⇒ Object (readonly)
Returns the value of attribute constant.
55 56 57 |
# File 'lib/tapioca/gem/events.rb', line 55 def constant @constant end |
#symbol ⇒ Object (readonly)
Returns the value of attribute symbol.
52 53 54 |
# File 'lib/tapioca/gem/events.rb', line 52 def symbol @symbol end |