Skip to content

Accept Tempfile in Stupidedi::Reader.build #250

@sshaw

Description

@sshaw

A Tempfile is a IO, really. From the docs:

A Tempfile objects behaves just like a File object, and you can perform all the usual file operations on it: reading data, writing data, changing its permissions, etc. So although this class does not explicitly document all instance methods supported by File, you can in fact call any File instance method on a Tempfile object.

Now when passing it to Stupidedi::Reader.build it results in a TypeError.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions