Sha256: a8b382e98842c93deecff97fd0b4edd528ac102f502df9b19448ed5a896712b5

Contents?: true

Size: 366 Bytes

Versions: 13

Compression:

Stored size: 366 Bytes

Contents

# frozen_string_literal: true

require "rails/generators"

module StimulusReflex
  class ConfigGenerator < Rails::Generators::Base
    desc "Creates an StimulusReflex configuration file in config/initializers"
    source_root File.expand_path("templates", __dir__)

    def copy_config_file
      copy_file "config/initializers/stimulus_reflex.rb"
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
stimulus_reflex-3.4.2 lib/generators/stimulus_reflex/config_generator.rb
stimulus_reflex-3.4.1 lib/generators/stimulus_reflex/config_generator.rb
stimulus_reflex-3.4.0 lib/generators/stimulus_reflex/config_generator.rb
stimulus_reflex-3.4.0.pre9 lib/generators/stimulus_reflex/config_generator.rb
stimulus_reflex-3.4.0.pre8 lib/generators/stimulus_reflex/config_generator.rb
stimulus_reflex-3.4.0.pre7 lib/generators/stimulus_reflex/config_generator.rb
stimulus_reflex-3.4.0.pre6 lib/generators/stimulus_reflex/config_generator.rb
stimulus_reflex-3.4.0.pre5 lib/generators/stimulus_reflex/config_generator.rb
stimulus_reflex-3.4.0.pre4 lib/generators/stimulus_reflex/config_generator.rb
stimulus_reflex-3.4.0.pre3 lib/generators/stimulus_reflex/config_generator.rb
stimulus_reflex-3.4.0.pre2 lib/generators/stimulus_reflex/config_generator.rb
stimulus_reflex-3.4.0.pre1 lib/generators/stimulus_reflex/config_generator.rb
stimulus_reflex-3.4.0.pre0 lib/generators/stimulus_reflex/config_generator.rb