Class: Rho::RhoFSConnector
Class Method Summary collapse
- .get_app_manifest_filename ⇒ Object
- .get_app_path(appname) ⇒ Object
- .get_base_app_path ⇒ Object
- .get_db_fullpathname ⇒ Object
- .get_model_path(appname, modelname) ⇒ Object
- .get_rhoconfig_filename ⇒ Object
Class Method Details
.get_app_manifest_filename ⇒ Object
15 16 17 |
# File 'lib/rho/rhofsconnector.rb', line 15 def get_app_manifest_filename File.join(__rhoGetCurrentDir(), 'apps/app_manifest.txt') end |
.get_app_path(appname) ⇒ Object
7 8 9 |
# File 'lib/rho/rhofsconnector.rb', line 7 def get_app_path(appname) File.join(__rhoGetCurrentDir(), 'apps/'+appname+'/') end |
.get_base_app_path ⇒ Object
11 12 13 |
# File 'lib/rho/rhofsconnector.rb', line 11 def get_base_app_path File.join(__rhoGetCurrentDir(), 'apps/') end |
.get_db_fullpathname ⇒ Object
27 28 29 30 31 32 33 |
# File 'lib/rho/rhofsconnector.rb', line 27 def get_db_fullpathname if defined? SYNC_DB_FILE File.join(SYNC_DB_FILE) else File.join(__rhoGetCurrentDir(), 'db/syncdb.sqlite') end end |