mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +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
|