Sha256: 149f516bf64a2e97472cdb19b8d7b1e956ab162ff3b569b5f52d8f7b48543e07
Contents?: true
Size: 926 Bytes
Versions: 4
Compression:
Stored size: 926 Bytes
Contents
require "rubygems" require "json" begin require "#{::File.dirname(__FILE__)}/../../vendor/gems/dslify/lib/dslify" rescue Exception => e require "dslify" end require "#{::File.dirname(__FILE__)}/poolparty/default" require "#{::File.dirname(__FILE__)}/modules/user_helpers" require "#{::File.dirname(__FILE__)}/schema" require "#{::File.dirname(__FILE__)}/net/init" require "#{::File.dirname(__FILE__)}/core/string" require "#{::File.dirname(__FILE__)}/core/hash" require "#{::File.dirname(__FILE__)}/poolparty/neighborhoods" require "#{::File.dirname(__FILE__)}/exceptions/RemoteException.rb" module PoolParty extend ::PoolParty::Remote def self.load_cloud_from_json(json_file_path=nil) json_file = json_file_path || PoolParty::Default.properties_hash_file PoolParty::Schema.new( ::File.read(json_file) ) rescue exit 1 end end class String def camelcase gsub(/(^|_|-)(.)/) { $2.upcase } end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
auser-poolparty-1.1.6 | lib/poolparty/lite.rb |
auser-poolparty-1.1.7 | lib/poolparty/lite.rb |
auser-poolparty-1.2.0 | lib/poolparty/lite.rb |
fairchild-poolparty-1.1.5 | lib/poolparty/lite.rb |