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_OUTDIR =
"sorbet/rbi/gems"
- 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])
Instance Method Summary collapse
Instance Method Details
#outpath ⇒ Object
16 17 18 19 |
# File 'lib/tapioca/config.rb', line 16 def outpath @outpath ||= T.let(Pathname.new(outdir), T.nilable(Pathname)) T.must(@outpath) end |