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
  elsif behavior == :unchanged
    :unchanged
  else
    :subtract
  end
  super(status, (color || config[:verbose]))
end