summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLee Jarvis <ljjarvis@gmail.com>2014-12-17 14:38:56 +0000
committerLee Jarvis <ljjarvis@gmail.com>2014-12-17 14:40:11 +0000
commita13b9578359f21e14f5a2fa5274a6edd59cd64a1 (patch)
tree9288aefcc8ee18b5ad0b700763fbc8b443f8bb35 /lib
parent05cc99be8fcaec86a51c021f8b8245a549a50288 (diff)
downloadslop-a13b9578359f21e14f5a2fa5274a6edd59cd64a1.tar.gz
Add readme section for printing help
Diffstat (limited to 'lib')
-rw-r--r--lib/slop/result.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/slop/result.rb b/lib/slop/result.rb
index 03b369b..aaa4efe 100644
--- a/lib/slop/result.rb
+++ b/lib/slop/result.rb
@@ -54,8 +54,8 @@ module Slop
end
alias to_h to_hash
- def to_s
- options.to_s
+ def to_s(**opts)
+ options.to_s(**opts)
end
end
end