yob/pdf-reader

Provide access to code version

sebbASF opened this issue · 0 comments

It would be useful to be able to get access to the version of the code that has been loaded.

If it has been loaded as a Gem, then the following should work:

Gem.loaded_specs['pdf-reader']&.version

However, there are other ways to require the code.
In particular during testing it can be useful to load from a local directory tree.