Method: UpdateChecker#get_current_version
- Defined in:
- lib/docker-sync/update_check.rb
#get_current_version ⇒ Object
70 71 72 73 74 75 |
# File 'lib/docker-sync/update_check.rb', line 70 def get_current_version path = File.('../../../', __FILE__) version = File.read("#{path}/VERSION") version.strip version end |