1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-11 22:24:21 +01:00
fab-manager/lib/version.rb

10 lines
192 B
Ruby
Raw Normal View History

# 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