aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/vendor
diff options
context:
space:
mode:
authorPiotr Szotkowski <chastell@chastell.net>2015-03-27 23:25:50 +0100
committerPiotr Szotkowski <chastell@chastell.net>2015-03-27 23:25:50 +0100
commita0f34c49a96f3793f58917d8007e65aa5da194b1 (patch)
tree1d07da7265effd55daa32b00aa481c40d1fa66f4 /lib/bundler/vendor
parent6fbb55bd8b4c1a304adb41b0fda85235d5b48236 (diff)
downloadbundler-a0f34c49a96f3793f58917d8007e65aa5da194b1.tar.gz
[Molinillo] Make warning-clean
Diffstat (limited to 'lib/bundler/vendor')
-rw-r--r--lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb23
1 files changed, 13 insertions, 10 deletions
diff --git a/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb b/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb
index cd5191eb..46a47d80 100644
--- a/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb
+++ b/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb
@@ -73,6 +73,19 @@ module Bundler::Molinillo
end_resolution
end
+ # @return [Integer] the number of resolver iterations in between calls to
+ # {#resolver_ui}'s {UI#indicate_progress} method
+ attr_accessor :iteration_rate
+ private :iteration_rate
+
+ # @return [Time] the time at which resolution began
+ attr_accessor :started_at
+ private :started_at
+
+ # @return [Array<ResolutionState>] the stack of states for the resolution
+ attr_accessor :states
+ private :states
+
private
# Sets up the resolution process
@@ -101,16 +114,6 @@ module Bundler::Molinillo
require 'bundler/vendor/molinillo/lib/molinillo/state'
require 'bundler/vendor/molinillo/lib/molinillo/modules/specification_provider'
- # @return [Integer] the number of resolver iterations in between calls to
- # {#resolver_ui}'s {UI#indicate_progress} method
- attr_accessor :iteration_rate
-
- # @return [Time] the time at which resolution began
- attr_accessor :started_at
-
- # @return [Array<ResolutionState>] the stack of states for the resolution
- attr_accessor :states
-
ResolutionState.new.members.each do |member|
define_method member do |*args, &block|
state.send(member, *args, &block)