diff options
author | Kenichi Kamiya <kachick1@gmail.com> | 2013-02-17 00:28:26 +0900 |
---|---|---|
committer | Kenichi Kamiya <kachick1@gmail.com> | 2013-02-17 00:30:49 +0900 |
commit | d5f29ef2bd9ebe7284aac92e3a643e919620e764 (patch) | |
tree | 549e31b3f786850690a9977987c9682a7632b1fc /lib | |
parent | 83e161811cbe483759790d737229efbca2f93021 (diff) | |
download | mixlib-cli-d5f29ef2bd9ebe7284aac92e3a643e919620e764.tar.gz |
Avoid ruby-warning "instance variable @{ivar} not initialized"
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mixlib/cli.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/cli.rb b/lib/mixlib/cli.rb index bdaabdb..04fad2d 100644 --- a/lib/mixlib/cli.rb +++ b/lib/mixlib/cli.rb @@ -47,7 +47,7 @@ module Mixlib end def use_separate_defaults? - @separate_default_options || false + @separate_default_options ||= false end # Add a command line option. |