Sha256: 6527f3419b740c830a0dec9fea7a68fde1b786c538eeaf527fd87b403f89b299

Contents?: true

Size: 847 Bytes

Versions: 14

Compression:

Stored size: 847 Bytes

Contents

module Rho
  class RhoFSConnector

    class << self
	
      def get_app_path(appname)
        File.join(__rhoGetCurrentDir(), 'apps/'+appname+'/')
      end
      
      def get_base_app_path
        File.join(__rhoGetCurrentDir(), 'apps/')
      end
      
      def get_app_manifest_filename
        File.join(__rhoGetCurrentDir(), 'apps/app_manifest.txt')
      end
      
      def get_rhoconfig_filename
        File.join(__rhoGetCurrentDir(), 'apps/rhoconfig.txt')
      end

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

      def get_db_fullpathname
        if defined? SYNC_DB_FILE
	        File.join(SYNC_DB_FILE)
        else
	        File.join(__rhoGetCurrentDir(), 'db/syncdb.sqlite')
        end
      end
    end
  end # RhoApplication
end # Rho

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
rhodes-1.5.5 lib/framework/rho/rhofsconnector.rb
rhodes-1.5.4 lib/framework/rho/rhofsconnector.rb
rhodes-1.5.3 lib/framework/rho/rhofsconnector.rb
rhodes-1.5.2 lib/framework/rho/rhofsconnector.rb
rhodes-1.5.1 lib/framework/rho/rhofsconnector.rb
rhodes-1.5.0 lib/framework/rho/rhofsconnector.rb
rhodes-1.4.2 lib/framework/rho/rhofsconnector.rb
rhodes-1.4.1 lib/framework/rho/rhofsconnector.rb
rhodes-1.4.0 lib/framework/rho/rhofsconnector.rb
rhodes-1.2.2 lib/framework/rho/rhofsconnector.rb
rhodes-framework-1.2.1 lib/rho/rhofsconnector.rb
rhodes-framework-1.2.0 lib/rho/rhofsconnector.rb
rhodes-framework-1.1.1 lib/rho/rhofsconnector.rb
rhodes-framework-1.1.0 lib/rho/rhofsconnector.rb