Skip to content

Commit 962f8ae

Browse files
committed
Regenerate documentation pages
Signed-off-by: Alexandre Terrasa <[email protected]>
1 parent 792d993 commit 962f8ae

37 files changed

+38
-0
lines changed

manual/compiler_aasm.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ and the following methods being defined:
2525

2626
sleeping?, running?, cleaning?
2727
run, run!, run_without_validation!, may_run?
28+
29+
: [ConstantType = (Class[::AASM] & ::AASM::ClassMethods)]

manual/compiler_actioncontrollerhelpers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,4 @@ class UserController
5555
def helpers; end
5656
end
5757
~~~
58+
: [ConstantType = singleton(::ActionController::Base)]

manual/compiler_actionmailer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ class NotifierMailer
2323
def self.notify_customer(customer_id); end
2424
end
2525
~~~
26+
: [ConstantType = singleton(::ActionMailer::Base)]

manual/compiler_actiontext.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ class Post
3737
def title?; end
3838
end
3939
~~~
40+
: [ConstantType = singleton(::ActiveRecord::Base)]

manual/compiler_activejob.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ class NotifyUserJob
3232
def self.perform_now(user); end
3333
end
3434
~~~
35+
: [ConstantType = singleton(::ActiveJob::Base)]

manual/compiler_activemodelattributes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ class Shop
2626
def name=(name); end
2727
end
2828
~~~
29+
: [ConstantType = (Class[::ActiveModel::Attributes] & ::ActiveModel::Attributes::ClassMethods)]

manual/compiler_activemodelsecurepassword.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ class User
4747
def token_confirmation=(unencrypted_password); end
4848
end
4949
~~~
50+
: [ConstantType = (Class[::ActiveModel::SecurePassword] & ::ActiveModel::SecurePassword::ClassMethods)]

manual/compiler_activemodelvalidationsconfirmation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ class User
3434
def password_confirmation=(password_confirmation); end
3535
end
3636
~~~
37+
: [ConstantType = (Class[ActiveModel::Validations] & ActiveModel::Validations::HelperMethods & ActiveModel::Validations::ClassMethods)]

manual/compiler_activerecordassociations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,4 @@ class Post
9393
end
9494
end
9595
~~~
96+
: [ConstantType = singleton(ActiveRecord::Base)]

manual/compiler_activerecordcolumns.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,4 @@ and if the option is set to `untyped`, the `title` method will be generated as:
111111
sig { returns(T.untyped) }
112112
def title; end
113113
~~~
114+
: [ConstantType = singleton(ActiveRecord::Base)]

manual/compiler_activerecorddelegatedtypes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,4 @@ class Entry
5454
end
5555

5656
~~~
57+
: [ConstantType = (singleton(ActiveRecord::Base) & Extensions::ActiveRecord)]

manual/compiler_activerecordenum.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@ class Post
4343
end
4444
end
4545
~~~
46+
: [ConstantType = singleton(::ActiveRecord::Base)]

manual/compiler_activerecordfixtures.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ class ActiveSupport::TestCase
2525
def posts(fixture_name = nil, *other_fixtures); end
2626
end
2727
~~~
28+
: [ConstantType = singleton(ActiveSupport::TestCase)]

manual/compiler_activerecordrelations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,4 @@ class Post
139139
end
140140
end
141141
~~~
142+
: [ConstantType = singleton(::ActiveRecord::Base)]

manual/compiler_activerecordscope.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ class Post
3030
end
3131
end
3232
~~~
33+
: [ConstantType = singleton(::ActiveRecord::Base)]

manual/compiler_activerecordsecuretoken.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ class User
2424
def regenerate_auth_token; end
2525
end
2626
~~~
27+
: [ConstantType = (singleton(ActiveRecord::Base) & Extensions::ActiveRecord)]

manual/compiler_activerecordstore.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,4 @@ class User
7070
end
7171
end
7272
~~~
73+
: [ConstantType = (singleton(ActiveRecord::Base) & Extensions::ActiveRecord)]

manual/compiler_activerecordtypedstore.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,4 @@ class Post
7575
end
7676
end
7777
~~~
78+
: [ConstantType = singleton(::ActiveRecord::Base)]

manual/compiler_activeresource.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ class Post
4848
def year?; end
4949
end
5050
~~~
51+
: [ConstantType = singleton(::ActiveResource::Base)]

manual/compiler_activestorage.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ class Post
3232
def photo=(attachable); end
3333
end
3434
~~~
35+
: [ConstantType = (Module & ::ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods)]

manual/compiler_activesupportconcern.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ module Bar
3131
mixes_in_class_methods(::Foo::ClassMethods)
3232
end
3333
~~~
34+
: [ConstantType = Module]

manual/compiler_activesupportcurrentattributes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,4 @@ class Current
5353
end
5454
end
5555
~~~
56+
: [ConstantType = singleton(::ActiveSupport::CurrentAttributes)]

manual/compiler_activesupporttimeext.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ class Time
2828
end
2929
end
3030
```
31+
: [ConstantType = singleton(::Time)]

manual/compiler_config.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ class AppSettingsConfigOptions < ::Config::Options
3434
def github=(value); end
3535
end
3636
```
37+
: [ConstantType = Module]

manual/compiler_frozenrecord.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,4 @@ class Student
5252
end
5353
end
5454
~~~
55+
: [ConstantType = (singleton(::FrozenRecord::Base) & Extensions::FrozenRecord)]

manual/compiler_graphqlinputobject.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ class CreateCommentInput
2525
def post_id; end
2626
end
2727
~~~
28+
: [ConstantType = singleton(GraphQL::Schema::InputObject)]

manual/compiler_graphqlmutation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ class CreateComment
2626
def resolve(body:, post_id:); end
2727
end
2828
~~~
29+
: [ConstantType = singleton(GraphQL::Schema::Mutation)]

manual/compiler_identitycache.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ class Post
4747
def fetch_by_title_and_review_date(title, review_date, includes: nil); end
4848
end
4949
~~~
50+
: [ConstantType = singleton(::ActiveRecord::Base)]

manual/compiler_jsonapiclientresource.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,4 @@ class Post
7373
end
7474
end
7575
~~~
76+
: [ConstantType = singleton(::JsonApiClient::Resource)]

manual/compiler_kredis.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@ class Person
5757
end
5858
end
5959
~~~
60+
: [ConstantType = (Class[::Kredis::Attributes] & ::Kredis::Attributes::ClassMethods & Extensions::Kredis)]

manual/compiler_mixedinclassattributes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ module Taggeable
3838
end
3939
end
4040
~~~
41+
: [ConstantType = Module]

manual/compiler_protobuf.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ Do this by extending your Sorbet config file:
5858
~~~
5959
--ignore=/path/to/proto/cart_pb.rb
6060
~~~
61+
: [ConstantType = Class[top]]

manual/compiler_railsgenerators.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ class ServiceGenerator
2727
def skip_comments; end
2828
end
2929
~~~
30+
: [ConstantType = singleton(::Rails::Generators::Base)]

manual/compiler_sidekiqworker.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ If your project uses `ActiveSupport` as well, then the compiler will automatical
3535
as accepted values for the `interval` parameter:
3636
* `self.perform_at` will also accept a `ActiveSupport::TimeWithZone` value
3737
* `self.perform_in` will also accept a `ActiveSupport::Duration` value
38+
: [ConstantType = singleton(::Sidekiq::Worker)]

manual/compiler_smartproperties.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ class Post
4848
def enabled=(enabled); end
4949
end
5050
~~~
51+
: [ConstantType = singleton(::SmartProperties)]

manual/compiler_statemachines.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,4 @@ class Vehicle
103103
end
104104
end
105105
~~~
106+
: [ConstantType = (Module & ::StateMachines::ClassMethods)]

manual/compiler_urlhelpers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,4 @@ class Post
7272
include GeneratedUrlHelpersModule
7373
end
7474
~~~
75+
: [ConstantType = Module]

0 commit comments

Comments
 (0)