summaryrefslogtreecommitdiff
path: root/bin/pry
diff options
context:
space:
mode:
authorMon ouïe <mon.ouie@gmail.com>2011-04-29 17:47:33 +0200
committerMon ouïe <mon.ouie@gmail.com>2011-04-29 17:47:33 +0200
commit8351b9a20d85ee35da549214eec88e761546da12 (patch)
treef31c9262e37096982bf9e8a5d8254449dd062be2 /bin/pry
parentb5592908efb6619b906be7d876aff45a7f828b14 (diff)
downloadpry-8351b9a20d85ee35da549214eec88e761546da12.tar.gz
Fixed bin/pry (Pry::Commands is not a class anymore)
Diffstat (limited to 'bin/pry')
-rw-r--r--bin/pry2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pry b/bin/pry
index 13574423..91a8e77d 100644
--- a/bin/pry
+++ b/bin/pry
@@ -48,7 +48,7 @@ end
# invoked via cli
Pry.cli = true
-class Pry::Commands
+Pry::Commands.instance_eval do
command "reset", "Reset the REPL to a clean state." do
output.puts "Pry reset."
exec("pry")