Class: Rbindkeys::BindTree::Leaf
- Inherits:
-
Object
- Object
- Rbindkeys::BindTree::Leaf
- Defined in:
- lib/rbindkeys/bind_tree.rb
Instance Attribute Summary collapse
-
#payload ⇒ Object
readonly
Returns the value of attribute payload.
Instance Method Summary collapse
-
#initialize(payload) ⇒ Leaf
constructor
A new instance of Leaf.
Constructor Details
#initialize(payload) ⇒ Leaf
Returns a new instance of Leaf.
141 142 143 |
# File 'lib/rbindkeys/bind_tree.rb', line 141 def initialize payload @payload = payload end |
Instance Attribute Details
#payload ⇒ Object (readonly)
Returns the value of attribute payload.
139 140 141 |
# File 'lib/rbindkeys/bind_tree.rb', line 139 def payload @payload end |