Sha256: 1c3b8b2a425161f23eebc2848bf2d05bc9b0410009a0cced22339e4a24a39934

Contents?: true

Size: 311 Bytes

Versions: 3

Compression:

Stored size: 311 Bytes

Contents

# frozen_string_literal: true

require "rails/dev_caching"

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
railties-6.0.0.beta3 lib/rails/commands/dev/dev_command.rb
railties-6.0.0.beta2 lib/rails/commands/dev/dev_command.rb
railties-6.0.0.beta1 lib/rails/commands/dev/dev_command.rb