lib/irb/default_commands.rb in irb-1.13.2 vs lib/irb/default_commands.rb in irb-1.14.0
- old
+ new
@@ -3,10 +3,11 @@
require_relative "command"
require_relative "command/internal_helpers"
require_relative "command/backtrace"
require_relative "command/break"
require_relative "command/catch"
+require_relative "command/cd"
require_relative "command/chws"
require_relative "command/context"
require_relative "command/continue"
require_relative "command/debug"
require_relative "command/delete"
@@ -238,9 +239,11 @@
)
_register_with_aliases(:irb_disable_irb, Command::DisableIrb,
[:disable_irb, NO_OVERRIDE]
)
+
+ register(:cd, Command::CD)
end
ExtendCommand = Command
# For backward compatibility, we need to keep this module: