Sha256: 340e21133712aae65a402e616d284e962b9d69a57ab77047e45a6df4d12e12bf
Contents?: true
Size: 215 Bytes
Versions: 3
Compression:
Stored size: 215 Bytes
Contents
require 'gce_metadata' require 'awesome_print' GCEMetadata.debug = true start = Time.now data = GCEMetadata[GCEMetadata::DEFAULT_REVISION]['instance'].to_hash stop = Time.now puts "#{(stop-start)}s\n#{data.ai}\n"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gce-metadata-0.2.4 | spec/gce-metadata.rb |
gce-metadata-0.2.3 | spec/gce-metadata.rb |
gce-metadata-0.2.2 | spec/gce-metadata.rb |