class RuboCop::Cop::RSpec::FactoryBot::CreateList::Corrector

:nodoc

def build_options_string(options)

def build_options_string(options)
  options.map(&:source).join(', ')
end

def format_method_call(node, method, arguments)

def format_method_call(node, method, arguments)
  if node.block_type? || node.parenthesized?
    "#{method}(#{arguments})"
  else
    "#{method} #{arguments}"
  end
end

def format_receiver(receiver)

def format_receiver(receiver)
  return '' unless receiver
  "#{receiver.source}."
end