Sha256: 05dc4cd734954e6333f0511a9ce9241967ce427e21bd30165c4a35605fdac092

Contents?: true

Size: 368 Bytes

Versions: 10

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

require "rails/generators"

module StimulusReflex
  class InitializerGenerator < Rails::Generators::Base
    desc "Creates a StimulusReflex initializer in config/initializers"
    source_root File.expand_path("templates", __dir__)

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
stimulus_reflex-3.5.0.pre9 lib/generators/stimulus_reflex/initializer_generator.rb
stimulus_reflex-3.5.0.pre8 lib/generators/stimulus_reflex/initializer_generator.rb
stimulus_reflex-3.5.0.pre7 lib/generators/stimulus_reflex/initializer_generator.rb
stimulus_reflex-3.5.0.pre6 lib/generators/stimulus_reflex/initializer_generator.rb
stimulus_reflex-3.5.0.pre5 lib/generators/stimulus_reflex/initializer_generator.rb
stimulus_reflex-3.5.0.pre4 lib/generators/stimulus_reflex/initializer_generator.rb
stimulus_reflex-3.5.0.pre3 lib/generators/stimulus_reflex/initializer_generator.rb
stimulus_reflex-3.5.0.pre2 lib/generators/stimulus_reflex/initializer_generator.rb
stimulus_reflex-3.5.0.pre1 lib/generators/stimulus_reflex/initializer_generator.rb
stimulus_reflex-3.5.0.pre0 lib/generators/stimulus_reflex/initializer_generator.rb