Sha256: 1c203531eff29e69e90390a5029dfc188879d8fb4181d50760905e2235982e08
Contents?: true
Size: 895 Bytes
Versions: 1
Compression:
Stored size: 895 Bytes
Contents
module Rho class RhoFSConnector class << self def get_app_path(appname) File.join(File.dirname(File.expand_path(__FILE__)), '../../apps/'+appname+'/') end def get_base_app_path File.join(File.dirname(File.expand_path(__FILE__)), '../../apps/') end def get_app_manifest_filename File.join(File.dirname(File.expand_path(__FILE__)), '../../apps/app_manifest.txt') end def get_model_path(appname, modelname) File.join(File.dirname(File.expand_path(__FILE__)), '../../apps/'+appname+'/'+modelname+'/') end def get_db_fullpathname if defined? SYNC_DB_FILE File.join(File.dirname(File.expand_path(__FILE__)), SYNC_DB_FILE) else File.join(File.dirname(File.expand_path(__FILE__)), '../../db/syncdb.sqlite') end end end end # RhoApplication end # Rho
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rhodes-0.1.3 | lib/rho/rhofsconnector.rb |