Class: Cli::Commands::NewApp::Files::SorbetConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/cli/commands/new_app/files/sorbet_config.rb

Class Method Summary collapse

Class Method Details

.callObject



8
9
10
# File 'lib/cli/commands/new_app/files/sorbet_config.rb', line 8

def self.call
  File.write("sorbet/config", content)
end

.contentObject



12
13
14
15
16
17
18
19
20
# File 'lib/cli/commands/new_app/files/sorbet_config.rb', line 12

def self.content
  <<~TXT
    --dir
    .
    --ignore=vendor/
    --ignore=spec/

  TXT
end