Class: Tapioca::Config
- Inherits:
-
T::Struct
- Object
- T::Struct
- Tapioca::Config
- Extended by:
- T::Sig
- Defined in:
- lib/tapioca/config.rb
Constant Summary collapse
- CONFIG_FILE_PATH =
"sorbet/tapioca/config.yml"- SORBET_CONFIG =
"sorbet/config"- DEFAULT_POSTREQUIRE =
"sorbet/tapioca/require.rb"- DEFAULT_RBIDIR =
"sorbet/rbi"- DEFAULT_OUTDIR =
T.let("#{DEFAULT_RBIDIR}/gems", String)
- DEFAULT_OVERRIDES =
T.let({ # ActiveSupport overrides some core methods with different signatures # so we generate a typed: false RBI for it to suppress errors "activesupport" => "false", }.freeze, T::Hash[String, String])
- DEFAULT_TODOSPATH =
T.let("#{DEFAULT_RBIDIR}/todo.rbi", String)
Instance Method Summary collapse
Instance Method Details
#outpath ⇒ Object
17 18 19 20 |
# File 'lib/tapioca/config.rb', line 17 def outpath @outpath = T.let(@outpath, T.nilable(Pathname)) @outpath ||= Pathname.new(outdir) end |