aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/commands/dev/dev_command.rb
blob: 820dc4db9e82f1f9bde2d307565214f9c5fd996d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                   
# frozen_string_literal: true

require "rails/dev_caching"

module Rails
  module Command
    class DevCommand < Base # :nodoc:
      desc "Toggle development mode caching on/off"
      def cache
        Rails::DevCaching.enable_by_file
      end
    end
  end
end