class Byebug::Command
def load_commands
def load_commands Dir.glob(File.expand_path('../commands/*.rb', __FILE__)).each do |file| require file end Byebug.constants.grep(/Functions$/).map do |name| include Byebug.const_get(name) end end
def load_commands Dir.glob(File.expand_path('../commands/*.rb', __FILE__)).each do |file| require file end Byebug.constants.grep(/Functions$/).map do |name| include Byebug.const_get(name) end end