mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +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
|