Skip to content

Commit

Permalink
Optparse in 1.9.2 always passes in a value to lambdas
Browse files Browse the repository at this point in the history
  • Loading branch information
TwP committed Jan 26, 2012
1 parent f4054c7 commit 95ab192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bones/app/git.rb
Expand Up @@ -10,7 +10,7 @@ def self.initialize_git
option
option('Git Options:')
option('--git', 'Initialize a git repository for the project.',
lambda { config[:git] = true }
lambda { |_| config[:git] = true }
)
option('--github DESCRIPTION', 'Create a new GitHub project.',
'Requires a project description.',
Expand Down

0 comments on commit 95ab192

Please sign in to comment.