Closed euglena1215 closed 4 months ago
@euglena1215 Thanks for your contribution!
Please follow the instructions below for each change. See also: https://github.com/ruby/gem_rbs_collection/blob/main/docs/CONTRIBUTING.md
You can use the following commands by commenting on this PR.
/merge
: Merge this PR if CI passessinatra-contrib
You changed RBS files for an existing gem.
You can merge this PR yourself because you are a reviewer of this gem.
Just comment /merge
to merge this PR.
You can also request a review from other reviewers if you want.
sinatra
You changed RBS files for an existing gem.
You can merge this PR yourself because you are a reviewer of this gem.
Just comment /merge
to merge this PR.
You can also request a review from other reviewers if you want.
/merge
When a method is called within a block of HTTP methods such as
get
,post
in the sinatra gem, it should have been treated as calling an instance method, but was evaluated as a singleton method. By adding[self: instance]
to the method block of each HTTP method, processing within the block is now treated as processing in the instance.