schema_dot_org 1.7.1 → 1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,133 +0,0 @@
1
- # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
- # srb rbi gems
3
-
4
- # typed: strict
5
- #
6
- # If you would like to make changes to this file, great! Please create the gem's shim here:
7
- #
8
- # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/i18n/all/i18n.rbi
9
- #
10
- # i18n-1.8.5
11
-
12
- module I18n
13
- def self.interpolate(string, values); end
14
- def self.interpolate_hash(string, values); end
15
- def self.new_double_nested_cache; end
16
- extend I18n::Base
17
- end
18
- class I18n::ExceptionHandler
19
- def call(exception, _locale, _key, _options); end
20
- end
21
- class I18n::ArgumentError < ArgumentError
22
- end
23
- class I18n::Disabled < I18n::ArgumentError
24
- def initialize(method); end
25
- end
26
- class I18n::InvalidLocale < I18n::ArgumentError
27
- def initialize(locale); end
28
- def locale; end
29
- end
30
- class I18n::InvalidLocaleData < I18n::ArgumentError
31
- def filename; end
32
- def initialize(filename, exception_message); end
33
- end
34
- class I18n::MissingTranslation < I18n::ArgumentError
35
- include I18n::MissingTranslation::Base
36
- end
37
- module I18n::MissingTranslation::Base
38
- def initialize(locale, key, options = nil); end
39
- def key; end
40
- def keys; end
41
- def locale; end
42
- def message; end
43
- def options; end
44
- def to_exception; end
45
- def to_s; end
46
- end
47
- class I18n::MissingTranslationData < I18n::ArgumentError
48
- include I18n::MissingTranslation::Base
49
- end
50
- class I18n::InvalidPluralizationData < I18n::ArgumentError
51
- def count; end
52
- def entry; end
53
- def initialize(entry, count, key); end
54
- def key; end
55
- end
56
- class I18n::MissingInterpolationArgument < I18n::ArgumentError
57
- def initialize(key, values, string); end
58
- def key; end
59
- def string; end
60
- def values; end
61
- end
62
- class I18n::ReservedInterpolationKey < I18n::ArgumentError
63
- def initialize(key, string); end
64
- def key; end
65
- def string; end
66
- end
67
- class I18n::UnknownFileType < I18n::ArgumentError
68
- def filename; end
69
- def initialize(type, filename); end
70
- def type; end
71
- end
72
- module I18n::Base
73
- def available_locales; end
74
- def available_locales=(value); end
75
- def available_locales_initialized?; end
76
- def backend; end
77
- def backend=(value); end
78
- def config; end
79
- def config=(value); end
80
- def default_locale; end
81
- def default_locale=(value); end
82
- def default_separator; end
83
- def default_separator=(value); end
84
- def eager_load!; end
85
- def enforce_available_locales!(locale); end
86
- def enforce_available_locales; end
87
- def enforce_available_locales=(value); end
88
- def exception_handler; end
89
- def exception_handler=(value); end
90
- def exists?(key, _locale = nil, locale: nil, **options); end
91
- def handle_exception(handling, exception, locale, key, options); end
92
- def l(object, locale: nil, format: nil, **options); end
93
- def load_path; end
94
- def load_path=(value); end
95
- def locale; end
96
- def locale=(value); end
97
- def locale_available?(locale); end
98
- def localize(object, locale: nil, format: nil, **options); end
99
- def normalize_key(key, separator); end
100
- def normalize_keys(locale, key, scope, separator = nil); end
101
- def reload!; end
102
- def t!(key, options = nil); end
103
- def t(key = nil, *arg1, throw: nil, raise: nil, locale: nil, **options); end
104
- def translate!(key, options = nil); end
105
- def translate(key = nil, *arg1, throw: nil, raise: nil, locale: nil, **options); end
106
- def transliterate(key, *arg1, throw: nil, raise: nil, locale: nil, replacement: nil, **options); end
107
- def with_locale(tmp_locale = nil); end
108
- end
109
- class I18n::Config
110
- def available_locales; end
111
- def available_locales=(locales); end
112
- def available_locales_initialized?; end
113
- def available_locales_set; end
114
- def backend; end
115
- def backend=(backend); end
116
- def clear_available_locales_set; end
117
- def default_locale; end
118
- def default_locale=(locale); end
119
- def default_separator; end
120
- def default_separator=(separator); end
121
- def enforce_available_locales; end
122
- def enforce_available_locales=(enforce_available_locales); end
123
- def exception_handler; end
124
- def exception_handler=(exception_handler); end
125
- def interpolation_patterns; end
126
- def interpolation_patterns=(interpolation_patterns); end
127
- def load_path; end
128
- def load_path=(load_path); end
129
- def locale; end
130
- def locale=(locale); end
131
- def missing_interpolation_argument_handler; end
132
- def missing_interpolation_argument_handler=(exception_handler); end
133
- end