7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# File 'lib/generators/rbs_activesupport/install_generator.rb', line 7
def create_raketask
create_file "lib/tasks/rbs_activesupport.rake", " # frozen_string_literal: true\n\n begin\n require 'rbs_activesupport/rake_task'\n\n RbsActivesupport::RakeTask.new do |task|\n # The target directories\n # task.target_directories = [Rails.root / \"app\"]\n end\n rescue LoadError\n # failed to load rbs_activesupport. Skip to load rbs_activesupport tasks.\n end\n RUBY\nend\n"
|