module Bberg
Constants
- VERSION
bberg gem version
Public Class Methods
jar_path()
click to toggle source
path to where the bloomberg java API jar can be found.
either uses the path in the env variable BBERG_JAVA_HOME
or defaults to 'C:/blp/API/APIv3/JavaAPI/v3.3.3.3/lib'
@return [String] path to jar
# File lib/bberg/bberg_wrapper.rb, line 10 def self.jar_path # load either from BBERG_JAVA_HOME or the default location base_path = ENV['BBERG_JAVA_HOME'].nil? ? 'C:/blp/API/APIv3/JavaAPI/v3.3.3.3/lib' : ENV['BBERG_JAVA_HOME'] File.join(base_path, 'blpapi3.jar') end