method

insert_railsrc_into_argv!

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ARGVScrubber
insert_railsrc_into_argv!(argv, railsrc) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 652
        def insert_railsrc_into_argv!(argv, railsrc)
          return argv unless File.exist?(railsrc)
          extra_args = read_rc_file railsrc
          argv.take(1) + extra_args + argv.drop(1)
        end
Register or log in to add new notes.