Method: RETerm::Components::ButtonBox#activate!

Defined in:
lib/reterm/components/button_box.rb

#activate!(*input) ⇒ Object



53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/reterm/components/button_box.rb', line 53

def activate!(*input)
  widget.draw!
  component.draw(true)

  if widget.activatable?
    widget.activate!(*input)
  else
    super
  end

  @buttons[component.current_button]
end