rename "basic" to "misc"

This commit is contained in:
Conrad Irwin 2012-03-01 16:57:38 -08:00
parent e3f6817a75
commit 6e5d12cc1a
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
require "pry/default_commands/basic"
require "pry/default_commands/misc"
require "pry/default_commands/help"
require "pry/default_commands/gems"
require "pry/default_commands/context"
@ -15,7 +15,7 @@ class Pry
# Default commands used by Pry.
Commands = Pry::CommandSet.new do
import DefaultCommands::Basic
import DefaultCommands::Misc
import DefaultCommands::Help
import DefaultCommands::Gems
import DefaultCommands::Context

View File

@ -1,7 +1,6 @@
class Pry
module DefaultCommands
Basic = Pry::CommandSet.new do
Misc = Pry::CommandSet.new do
command "toggle-color", "Toggle syntax highlighting." do
Pry.color = !Pry.color
output.puts "Syntax highlighting #{Pry.color ? "on" : "off"}"