mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-04-02 19:25:16 +02: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
|