Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement todo option #1470

Merged
merged 4 commits into from
Sep 15, 2023
Merged

Implement todo option #1470

merged 4 commits into from
Sep 15, 2023

Conversation

ksss
Copy link
Collaborator

@ksss ksss commented Aug 26, 2023

The todo option excludes predefined output from prototype runtime.

Issue

#1449

Supported features

This PR is implemented to exclude the following.

  • Instance method
  • Singleton method
  • Constant
  • Mixin

Demo

$ bundle exec rbs prototype runtime --todo IO
class IO
  public

  def external_encoding: () -> untyped

  def pread: (*untyped) -> untyped

  def pwrite: (untyped, untyped) -> untyped

  def to_path: () -> untyped

  def wait_priority: (*untyped) -> untyped
end

Copy link
Member

@soutaro soutaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@soutaro soutaro added this pull request to the merge queue Sep 15, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 15, 2023
@soutaro soutaro added this pull request to the merge queue Sep 15, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 15, 2023
The todo option excludes predefined output from prototype runtime.
@soutaro soutaro added this pull request to the merge queue Sep 15, 2023
Merged via the queue into ruby:master with commit 1c9b959 Sep 15, 2023
23 checks passed
@ksss ksss deleted the todo branch September 15, 2023 08:06
@soutaro soutaro added the Released PRs already included in the released version label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Released PRs already included in the released version
Development

Successfully merging this pull request may close these issues.

2 participants