Class: Rbindkeys::BindTree::Leaf

Inherits:
Object
  • Object
show all
Defined in:
lib/rbindkeys/bind_tree.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#payloadObject (readonly)

Returns the value of attribute payload.



139
140
141
# File 'lib/rbindkeys/bind_tree.rb', line 139

def payload
  @payload
end