Sha256: a1ba30948e4cc8225d38891044534000a66661789411a9c61137a102227e7ba8

Contents?: true

Size: 424 Bytes

Versions: 2

Compression:

Stored size: 424 Bytes

Contents

require 'singleton'
require 'tlogger'

module GcryptoJce
  class GConf
    include Singleton
    attr_reader :logger_params, :glog
    def initialize
      @logger_params = STDOUT
      @glog = Tlogger.new(STDOUT)
      @glog.tag = :gcrypto_jce
      @glog.show_source
    end  

    def java_version
      if @java_ver.nil?
        @java_ver = ENV_JAVA['java.version']
      end
      
      @java_ver
    end
  end
end


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gcrypto_jce-0.2 lib/gcrypto_jce/global.rb
gcrypto_jce-0.1 lib/gcrypto_jce/global.rb