HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-7.0.4.2/lib/rails/commands/dev/dev_command.rb
# frozen_string_literal: true

require "rails/dev_caching"

module Rails
  module Command
    class DevCommand < Base # :nodoc:
      no_commands do
        def help
          say "rails dev:cache # Toggle development mode caching on/off."
        end
      end

      def cache
        Rails::DevCaching.enable_by_file
      end
    end
  end
end