Class: Aws::Xray::VersionDetector

Inherits:
Object
  • Object
show all
Defined in:
lib/aws/xray/version_detector.rb

Constant Summary collapse

REVISION_PATH =
'REVISION'

Instance Method Summary collapse

Instance Method Details

#callObject



6
7
8
9
10
# File 'lib/aws/xray/version_detector.rb', line 6

def call
  if File.exist?(REVISION_PATH)
    File.read(REVISION_PATH).chomp
  end
end