diff options
author | Piotr Szotkowski <chastell@chastell.net> | 2014-09-06 17:11:02 +0200 |
---|---|---|
committer | Piotr Szotkowski <chastell@chastell.net> | 2014-09-06 17:11:02 +0200 |
commit | 170be36ca920fdbd6cb7cff664b5735664c49523 (patch) | |
tree | eaedebd41d9f8d52c4dc1cac9b684771bc00a0e8 | |
parent | 99ab5b01795da5c0f841790d31c4e8f907d0cb66 (diff) | |
download | bundler-170be36ca920fdbd6cb7cff664b5735664c49523.tar.gz |
Redo a private attr_reader to side-step throwing a Ruby warning
-rw-r--r-- | lib/bundler/definition.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index 08853940eb..e5b6b24364 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -386,9 +386,10 @@ module Bundler end end - private - attr_reader :sources + private :sources + + private def nothing_changed? !@source_changes && !@dependency_changes && !@new_platform && !@path_changes && !@local_changes |