Skip to content

Conversation

@HoneyryderChuck
Copy link
Contributor

this adds the missing kwargs (known as "Open options" and "Encoding options" in the docs) signatures to the following methods, which implemented the same derivative signature:

  • File#initialize
  • File.open
  • Pathname#open

As a sidenote, given the number of methods which reimplement the same signature, it'd be great if RBS itself could support some type of annotation to avoid repetition, something like:

class Pathname
  route open -> File#initialize

this adds the missing kwargs (known as "Open options" and "Encoding
options" in the docs) signatures to the following methods, which
implemented the same derivative signature:

* File#initialize
* File.open
* Pathname#open
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