class Byebug::Command
def load_commands
def load_commands Dir[File.join(File.dirname(__FILE__), 'commands', '*')].each { |file| require file } Byebug.constants.grep(/Functions$/).map { |name| Byebug.const_get(name) }.each { |mod| include mod } end
def load_commands Dir[File.join(File.dirname(__FILE__), 'commands', '*')].each { |file| require file } Byebug.constants.grep(/Functions$/).map { |name| Byebug.const_get(name) }.each { |mod| include mod } end