summaryrefslogtreecommitdiff
path: root/lib/slop/option.rb
diff options
context:
space:
mode:
authorAmon Sha <amon.sha@gmail.com>2012-01-26 20:21:59 +0200
committerAmon Sha <amon.sha@gmail.com>2012-01-27 13:03:27 +0200
commit66297720398c51839ffa117eb354e356973dd930 (patch)
tree5263ed459c011dcbea5e18e088a6d485852830f9 /lib/slop/option.rb
parentdeef8a7f3c160f489de2916d164c543819b213ed (diff)
downloadslop-66297720398c51839ffa117eb354e356973dd930.tar.gz
Fix some minor copy/paste issues
Diffstat (limited to 'lib/slop/option.rb')
-rw-r--r--lib/slop/option.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/slop/option.rb b/lib/slop/option.rb
index c71013e..cf0f11d 100644
--- a/lib/slop/option.rb
+++ b/lib/slop/option.rb
@@ -131,7 +131,7 @@ class Slop
# Convert an object to an Integer if possible.
#
- # value - The Object we want to convert to a range.
+ # value - The Object we want to convert to an integer.
#
# Returns the Integer value if possible to convert, else a zero.
def value_to_integer(value)
@@ -149,7 +149,7 @@ class Slop
# Convert an object to a Float if possible.
#
- # value - The Object we want to convert to a range.
+ # value - The Object we want to convert to a float.
#
# Returns the Float value if possible to convert, else a zero.
def value_to_float(value)