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

Allow StringIO type for PDF::Reader input #535

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

erinnachen
Copy link
Contributor

It looks like this initializer should accept the StringIO type as mentioned in this comment. However, when this is called with a StringIO value, a Sorbet error is raised.

Copy link
Owner

@yob yob left a comment

Choose a reason for hiding this comment

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

Absolutely, accepting StringIO (or anything IO-ish) has always been the intention. My sorbet experiments maybe got in the way, thanks for the fix.

@yob yob merged commit 2d4b750 into yob:main Feb 21, 2024
1 check was pending
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.

2 participants