method
args_to_sentence

args_to_sentence()
private
Hide source
# File lib/spec/matchers/be.rb, line 173 def args_to_sentence case @args.length when 0 "" when 1 " #{@args[0]}" else " #{@args[0...-1].join(', ')} and #{@args[-1]}" end end