diff options
author | Marcus Stollsteimer <[email protected]> | 2019-01-04 00:07:34 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2019-07-15 00:32:00 +0900 |
commit | 423feb53a20f323d6b7e27e132e68b70b888ffe9 (patch) | |
tree | 369aadf2f3572c31e41e850e47bd7416a6c77925 /lib/matrix.rb | |
parent | 4403130193ac895820d9ccc8ec2ab13de37bfea6 (diff) |
[ruby/matrix] Add Matrix::VERSION constant
Add Matrix::VERSION for the gem version, use it in the gemspec,
and make it also available for library users.
https://github.com/ruby/matrix/commit/65c2bb1fa1
Diffstat (limited to 'lib/matrix.rb')
-rw-r--r-- | lib/matrix.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/matrix.rb b/lib/matrix.rb index 34602f5c40..b8139b547f 100644 --- a/lib/matrix.rb +++ b/lib/matrix.rb @@ -14,6 +14,8 @@ require "e2mmap" +require_relative "matrix/version" + module ExceptionForMatrix # :nodoc: extend Exception2MessageMapper def_e2message(TypeError, "wrong argument type %s (expected %s)") |