aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Szotkowski <chastell@chastell.net>2014-09-06 17:11:02 +0200
committerAndre Arko <andre@arko.net>2014-09-14 11:21:46 +0300
commita57822f6869eece5db9c5d001b934471633d9d65 (patch)
tree49ac477f4c199ac55cc4f076da7e19f9746c40a1
parente412199935abf7840a26ea4b909ad3441d6551df (diff)
downloadbundler-a57822f6869eece5db9c5d001b934471633d9d65.tar.gz
Redo a private attr_reader to side-step throwing a Ruby warning
-rw-r--r--lib/bundler/definition.rb5
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