diff options
author | Piotr Szotkowski <chastell@chastell.net> | 2014-09-06 17:11:02 +0200 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-09-14 11:21:46 +0300 |
commit | a57822f6869eece5db9c5d001b934471633d9d65 (patch) | |
tree | 49ac477f4c199ac55cc4f076da7e19f9746c40a1 /lib/bundler/definition.rb | |
parent | e412199935abf7840a26ea4b909ad3441d6551df (diff) | |
download | bundler-a57822f6869eece5db9c5d001b934471633d9d65.tar.gz |
Redo a private attr_reader to side-step throwing a Ruby warning
Diffstat (limited to 'lib/bundler/definition.rb')
-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 08853940..e5b6b243 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 |