method

say_status

ruby latest stable - Class: Bundler::Thor::Actions::InjectIntoFile

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

say_status(behavior)
protected

No documentation available.

# File lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb, line 81
      def say_status(behavior)
        status = if behavior == :invoke
          if flag == /\A/
            :prepend
          elsif flag == /\z/
            :append
          else
            :insert
          end
        else
          :subtract
        end

        super(status, config[:verbose])
      end