pdf-reader icon indicating copy to clipboard operation
pdf-reader copied to clipboard

Provide access to code version

Open sebbASF opened this issue 4 years ago • 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.

sebbASF avatar Oct 23 '21 23:10 sebbASF