From be73a0fbbaf8354ef690e23f3cfe43f0192b6e7c Mon Sep 17 00:00:00 2001 From: Renato Silva Date: Thu, 4 Dec 2014 10:35:58 -0200 Subject: [PATCH] Small fix in Ruby sample script. --- ruby/example.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby/example.rb b/ruby/example.rb index 8eb8e44..89fc986 100644 --- a/ruby/example.rb +++ b/ruby/example.rb @@ -25,7 +25,7 @@ require_relative 'easyoptions' options, arguments = EasyOptions.all # Boolean options -puts 'Option specified: --some-option' if options[:option] +puts 'Option specified: --some-option' if options[:some_option] puts 'Option specified: --some-boolean' if options[:some_boolean] # Parameter option