Skip to content

Add types for erubi v1.13 - #1101

Open
amatsuda wants to merge 1 commit into
ruby:mainfrom
amatsuda:erubi-1.13
Open

amatsuda wants to merge 1 commit into
ruby:mainfrom
amatsuda:erubi-1.13

Conversation

@amatsuda

Copy link
Copy Markdown
Member

Adds types for erubi 1.13.

  • Erubi::Engine, with the options of Engine.new as a record type, its readers, and the private methods that subclasses override (for example, ActionView's Template::Handlers::ERB::Erubi)
  • Erubi.h
  • Erubi::CaptureBlockEngine (erubi/capture_block) and Erubi::CaptureEndEngine (erubi/capture_end), with their extra options

bin/test passes for erubi 1.13, and for actionview 6.0 and 8.1.

🤖 Generated with Claude Code

Erubi::Engine with its options as a record type, Erubi.h, and the
engines in erubi/capture_block and erubi/capture_end. The private
methods that subclasses override, like ActionView's
Template::Handlers::ERB::Erubi, are declared too.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@github-actions

Copy link
Copy Markdown

@amatsuda 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

Available commands

You can use the following commands by commenting on this PR.

  • /merge: Merge this PR if CI passes

erubi

This RBS files are newly added.

You can merge this PR immediately if the CI passes.
Just comment /merge to merge this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant