Sha256: bc35a2ec1287b441a32785ffc68984b86b2682631beb5f7536da0acbd3280cdc
Contents?: true
Size: 972 Bytes
Versions: 22
Compression:
Stored size: 972 Bytes
Contents
#!/usr/bin/ruby1.8 -w # # Copyright:: Copyright 2009 Google Inc. # Original Author:: John Woodell (mailto:woodie@google.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. module AppEngine if defined? Java import com.google.appengine.api.utils.SystemProperty class Runtime def self.environment SystemProperty.environment.get.to_s.downcase end def self.version SystemProperty.version.get.to_s end end end end
Version data entries
22 entries across 22 versions & 1 rubygems