mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
25 lines
745 B
Ruby
25 lines
745 B
Ruby
require "pry/default_commands/basic"
|
|
require "pry/default_commands/documentation"
|
|
require "pry/default_commands/gems"
|
|
require "pry/default_commands/context"
|
|
require "pry/default_commands/input"
|
|
require "pry/default_commands/shell"
|
|
require "pry/default_commands/introspection"
|
|
require "pry/default_commands/easter_eggs"
|
|
|
|
class Pry
|
|
|
|
# Default commands used by Pry.
|
|
Commands = Pry::CommandSet.new do
|
|
import DefaultCommands::Basic
|
|
import DefaultCommands::Documentation
|
|
import DefaultCommands::Gems
|
|
import DefaultCommands::Context
|
|
import DefaultCommands::Input, DefaultCommands::Shell
|
|
import DefaultCommands::Introspection
|
|
import DefaultCommands::EasterEggs
|
|
|
|
Helpers::CommandHelpers.try_to_load_pry_doc
|
|
|
|
end
|
|
end
|