class Uricp::Strategy::Sweeper
Public Instance Methods
appropriate?()
click to toggle source
# File lib/uricp/strategy/sweeper.rb, line 5 def appropriate? return proposal if options['sweep'] && sequence_complete? debug "#{self.class.name}: not appropriate" false end
command()
click to toggle source
# File lib/uricp/strategy/sweeper.rb, line 12 def command "mv #{options['sweep'].first} #{options['sweep'].last};" end
proposal()
click to toggle source
# File lib/uricp/strategy/sweeper.rb, line 16 def proposal @proposed_options = options.dup @proposed_options.delete('sweep') self end