:development do gem "rbs_rails", require: false end ͦͯ͠ bin/rails g rbs_rails:install Λ࣮ߦ͢Δɻ $ bin/rails g rbs_rails:install create lib/tasks/rbs.rake 27
< ApplicationRecord include Redmine:"SafeAttributes def visible?: (?untyped user) -$ untyped # Returns the wiki page that acts as the sidebar content # or nil if no such page exists def sidebar: () -$ untyped # find the page with the given title # if page doesn't exist, return a new page def find_or_new_page: (untyped title) -$ untyped 29
task update: %i[rbs_rails:all inline] task reset: %i[clean setup] task :collection do sh "rbs", "collection", "install", "-"frozen" end task :inline do sh "rbs-inline", "-"output", "-"opt-out", "app", "lib" end task :clean do sh "rm", "-rf", ".gem_rbs_collection/", "sig/rbs_rails/", "sig/generated/" end end 37
:app do signature "sig" check "app", "lib" ignore(*strict_paths) configure_code_diagnostics(D:#Ruby.silent) end target :strict do signature "sig" check(*strict_paths) end 53
:app do signature "sig" check "app", "lib" ignore(*strict_paths) configure_code_diagnostics(D:#Ruby.silent) end target :strict do signature "sig" check(*strict_paths) end 54