mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-11 22:24:21 +01:00
10 lines
192 B
Ruby
10 lines
192 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
# retrieve the current Fab-manager version
|
||
|
class Version
|
||
|
def self.current
|
||
|
package = File.read('package.json')
|
||
|
JSON.parse(package)['version']
|
||
|
end
|
||
|
end
|