module Keepachangelog

Public Class Methods

version() click to toggle source
# File lib/keepachangelog/version.rb, line 4
def self.version
  path = File.expand_path('../../package.json', File.dirname(__FILE__))
  file = File.read path
  json = JSON.parse file
  json['version']
end