Sha256: 54d03910491c6723f41826b2895926ae27a82d32d6f0c56ab7f6e83a35d6ff24
Contents?: true
Size: 1.23 KB
Versions: 5
Compression:
Stored size: 1.23 KB
Contents
module Steep class Project class Options attr_accessor :allow_fallback_any attr_accessor :allow_missing_definitions attr_accessor :allow_unknown_constant_assignment attr_accessor :allow_unknown_method_calls attr_accessor :vendored_stdlib_path attr_accessor :vendored_gems_path attr_reader :libraries def initialize apply_default_typing_options! self.vendored_gems_path = nil self.vendored_stdlib_path = nil @libraries = [] end def apply_default_typing_options! self.allow_fallback_any = true self.allow_missing_definitions = true self.allow_unknown_constant_assignment = false self.allow_unknown_method_calls = false end def apply_strict_typing_options! self.allow_fallback_any = false self.allow_missing_definitions = false self.allow_unknown_constant_assignment = false self.allow_unknown_method_calls = false end def apply_lenient_typing_options! self.allow_fallback_any = true self.allow_missing_definitions = true self.allow_unknown_constant_assignment = true self.allow_unknown_method_calls = true end end end end
Version data entries
5 entries across 5 versions & 1 rubygems