$: << File.dirname(__FILE__) require 'app42/version' command_files = "../app42/{base,client,util}/*.rb" Dir[File.expand_path(command_files, __FILE__)].each do |file| require file end module App42 APP42_AGENT = "app42-gem(#{App42::Version::VERSION::VERSION}) (#{RUBY_PLATFORM}) ruby(#{RUBY_VERSION})" def self.user_agent @@user_agent ||= APP42_AGENT end def self.user_agent=(agent) @@user_agent = agent end end