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
When using a Pathname instead of a String for the file argument, I get an error. See the following code:
require 'exiftool' require 'pathname' path=Pathname.new('p./public/images/test.jpg') Exiftool.new(path)
will result in NoMethodError: undefined method empty?' for #<Pathname:p./public/images/test.jpg>
NoMethodError: undefined method empty?' for #<Pathname:p./public/images/test.jpg>
the workaround is to convert the Pathname to a String: Exiftool.new(path.to_s)
Exiftool.new(path.to_s)
Ruby version 2.3.1
The text was updated successfully, but these errors were encountered:
pull requests are welcome (and this, specifically, seems fine)
Sorry, something went wrong.
I just released v1.1.0 which addresses this.
No branches or pull requests
When using a Pathname instead of a String for the file argument, I get an error.
See the following code:
will result in
NoMethodError: undefined method empty?' for #<Pathname:p./public/images/test.jpg>
the workaround is to convert the Pathname to a String:
Exiftool.new(path.to_s)
Ruby version 2.3.1
The text was updated successfully, but these errors were encountered: