0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[RubyMine] missing type signature of xxxの対応

Posted at

背景

image.png

RubyMineから以下の警告が出てきた。Missing type signature for 'extractable?'

image.png

RBS Signatureとは

RBS(Ruby Signature) は、Rubyのクラスやモジュール、メソッドの**型情報を記述するための専用ファイル形式(.rbs)**です。
Ruby本体とは別に、静的型チェックを可能にする仕組みとして Ruby 3.0(2020年12月) から導入されました。

ruby/rbs: Type Signature for Ruby

警告の対応

現在のプロジェクトには必要なさそうなので、無効にした。

Settings -> Editor -> Inspections -> RBS

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?