Skip to content

Implement todo option#1470

Merged
soutaro merged 4 commits into
ruby:masterfrom
ksss:todo
Sep 15, 2023
Merged

Implement todo option#1470
soutaro merged 4 commits into
ruby:masterfrom
ksss:todo

Conversation

@ksss
Copy link
Copy Markdown
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
Copy Markdown
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
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants