class Redwood::HelpMode

Public Class Methods

new(mode, global_keymap) click to toggle source
Calls superclass method
# File lib/sup/modes/help-mode.rb, line 4
  def initialize mode, global_keymap
    title = "Help for #{mode.name}"
    super <<EOS
#{title}
#{'=' * title.length}

#{mode.help_text}
Global keybindings
------------------
#{global_keymap.help_text}
EOS
  end