79
80
81
82
83
84
85
86
|
# File 'lib/consenter.rb', line 79
def each_consented(prompt = '%s', options = {})
unless block_given?
return to_enum(__method__, prompt, options) do size; end
end
Consenter.new(prompt, options).for(self) do |*args|
yield(*args)
end
end
|