class RSpec::Mocks::ErrorGenerator
def method_call_args_description(args)
- Private: -
def method_call_args_description(args) if args.first.is_a?(ArgumentMatchers::AnyArgsMatcher) " with any arguments" elsif args.first.is_a?(ArgumentMatchers::NoArgsMatcher) " with no arguments" elsif args.length > 0 " with arguments: #{args.inspect.gsub(/\A\[(.+)\]\z/, '(\1)')}" else "" end end