rubygems_generators/executable/executable_generator.rb in newgem-0.18.0 vs rubygems_generators/executable/executable_generator.rb in newgem-0.19.0
- old
+ new
@@ -42,10 +42,10 @@
def add_options!(opts)
opts.separator ''
opts.separator 'Options:'
opts.on("-a", "--author=\"Your Name\"", String,
"Generated app file will include your name.",
- "Default: none") { |options[:author]| }
+ "Default: none") { |x| options[:author] = x }
end
def extract_options
@author = options[:author]
end
\ No newline at end of file