Class: Rho::RhoFSConnector

Inherits:
Object show all
Defined in:
lib/rho/rhofsconnector.rb

Class Method Summary collapse

Class Method Details

.get_app_manifest_filenameObject



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_pathObject



11
12
13
# File 'lib/rho/rhofsconnector.rb', line 11

def get_base_app_path
  File.join(__rhoGetCurrentDir(), 'apps/')
end

.get_db_fullpathnameObject



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

.get_model_path(appname, modelname) ⇒ Object



23
24
25
# File 'lib/rho/rhofsconnector.rb', line 23

def get_model_path(appname, modelname)
  File.join(__rhoGetCurrentDir(), 'apps/'+appname+'/'+modelname+'/')
end

.get_rhoconfig_filenameObject



19
20
21
# File 'lib/rho/rhofsconnector.rb', line 19

def get_rhoconfig_filename
  File.join(__rhoGetCurrentDir(), 'apps/rhoconfig.txt')
end