We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example code:
# a.rb class A class << self attr_reader :foo def bar "baz" end end end
Generated signature:
$ rbs -v rbs 0.19.0 $ rbs prototype rb a.rb class A attr_reader foo: untyped def self.bar: () -> "baz" end
The signature declares attr_reader for the class instances, not the singleton.
attr_reader
(Also, we currently don't support self attr_reader/writer, right? Or am I missing something)
The text was updated successfully, but these errors were encountered:
I think the improvements in the latest version 0.20.1 would help. (#502 and #505)
0.20.1
Sorry, something went wrong.
No branches or pull requests
Example code:
Generated signature:
The signature declares
attr_readerfor the class instances, not the singleton.(Also, we currently don't support self attr_reader/writer, right? Or am I missing something)
The text was updated successfully, but these errors were encountered: