Sha256: 7c44073588b5df3d70b773c9a05eddc636240d63d1ced4313c6cbcadf829cbe2
Contents?: true
Size: 640 Bytes
Versions: 2
Compression:
Stored size: 640 Bytes
Contents
require "ostruct" require "yaml" # The main SmartMachine driver module SmartMachine def self.config @@config ||= OpenStruct.new end def self.credentials @@credentials ||= OpenStruct.new(SmartMachine::Credentials.new.config) end end require 'smart_machine/version' SmartMachine.config.root_path = File.expand_path('../..', __FILE__) SmartMachine.config.user_home_path = File.expand_path('~') if File.exist?("#{SmartMachine.config.user_home_path}/.smartmachine/config/environment.rb") require "#{SmartMachine.config.user_home_path}/.smartmachine/config/environment" end require 'smart_machine/base' require 'smart_machine/boot'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
smartmachine-0.8.0 | lib/smart_machine.rb |
smartmachine-0.7.0 | lib/smart_machine.rb |