class WhatTheGem::Help

Constants

TEMPLATE

Public Class Methods

new(*) click to toggle source
# File lib/whatthegem/help.rb, line 14
def initialize(*)
end

Public Instance Methods

locals() click to toggle source
# File lib/whatthegem/help.rb, line 17
def locals
  {commands: commands}
end

Private Instance Methods

commands() click to toggle source
# File lib/whatthegem/help.rb, line 27
def commands
  Command.registry.values.map(&:meta).map(&:to_h)
end
full_output() click to toggle source
# File lib/whatthegem/help.rb, line 23
def full_output
  markdown output
end