global
def current_version
-
(String)
- The current version of the gem.
def current_version version_file_path = File.join(Pathname.new(__dir__).parent, '.version') File.read(version_file_path).strip end
(String)
- The current version of the gem.
def current_version version_file_path = File.join(Pathname.new(__dir__).parent, '.version') File.read(version_file_path).strip end