class Bundler::Thor::Actions::InjectIntoFile

def say_status(behavior, warning: nil, color: nil)

def say_status(behavior, warning: nil, color: nil)
  status = if behavior == :invoke
    if flag == /\A/
      :prepend
    elsif flag == /\z/
      :append
    else
      :insert
    end
  elsif warning
    warning
  else
    :subtract
  end
  super(status, (color || config[:verbose]))
end