class Byebug::Setting
def self.help(cmd, subcmd)
def self.help(cmd, subcmd) if subcmd camelized = subcmd.split('_').map { |w| w.capitalize }.join setting = Byebug.const_get("#{camelized}Setting").new <<-EOH.gsub(/^ {8}/, '') #{cmd} #{setting.to_sym} <value> #{setting.banner}. EOH else command = Byebug.const_get("#{cmd.capitalize}Command") command.description + help_all end end