Browse files

method_option is used like this

  • Loading branch information...
1 parent fb74521 commit 417fe26dafc501a8cce467da3979fc0d1411bb24 @radar committed Oct 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 gem-development.md
View
2 gem-development.md
@@ -274,7 +274,7 @@ The second and third are still failing because we haven't defined the `group` ta
desc "pluralize", "Pluralizes a word"
- method_option :word => :string, :aliases => "-w"
+ method_option :word, :aliases => "-w"
def pluralize
puts GemName::Food.pluralize(options[:word])
end

0 comments on commit 417fe26

Please sign in to comment.