summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyrylo Silin <kyrylosilin@gmail.com>2012-08-03 16:29:21 +0300
committerKyrylo Silin <kyrylosilin@gmail.com>2012-11-21 04:50:49 +0200
commit4c9f3059d5cd64591054c9b53003f2226b7a43e6 (patch)
tree3c80883e1e92924d866dcb1603697e862545aa4c
parent705b478518e744c6dca5e42487364ad40a58a095 (diff)
downloadpry-4c9f3059d5cd64591054c9b53003f2226b7a43e6.tar.gz
Fix indentation and typo
Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
-rw-r--r--lib/pry/command.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pry/command.rb b/lib/pry/command.rb
index b10b6147..63a141b4 100644
--- a/lib/pry/command.rb
+++ b/lib/pry/command.rb
@@ -76,6 +76,7 @@ class Pry
def name
super.to_s == "" ? "#<class(Pry::Command #{match.inspect})>" : super
end
+
def inspect
name
end
@@ -458,7 +459,7 @@ class Pry
end
end
- # A super-class ofr Commands with structure.
+ # A super-class of Commands with structure.
#
# This class implements the bare-minimum functionality that a command should
# have, namely a --help switch, and then delegates actual processing to its