Sha256: b6a6a4e831cd26eca07222bf1eb49be8430aee350dda42e520384622c9861513

Contents?: true

Size: 735 Bytes

Versions: 19

Compression:

Stored size: 735 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_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

19 entries across 19 versions & 2 rubygems

Version Path
rhodes-0.2.1 lib/rho/rhofsconnector.rb
rhodes-0.2.0 lib/rho/rhofsconnector.rb
rhodes-0.2.2 lib/rho/rhofsconnector.rb
rhodes-0.2.4 lib/rho/rhofsconnector.rb
rhodes-0.2.3 lib/rho/rhofsconnector.rb
rhodes-0.3.0 lib/rho/rhofsconnector.rb
rhodes-0.2.5 lib/rho/rhofsconnector.rb
rhodes-0.2.6 lib/rho/rhofsconnector.rb
rhodes-framework-1.0.0 lib/rho/rhofsconnector.rb
rhodes-framework-1.0.1 lib/rho/rhofsconnector.rb
rhodes-framework-1.0.3 lib/rho/rhofsconnector.rb
rhodes-framework-1.0.4 lib/rho/rhofsconnector.rb
rhodes-framework-1.0.5 lib/rho/rhofsconnector.rb
rhodes-framework-1.0.10 lib/rho/rhofsconnector.rb
rhodes-framework-1.0.2 lib/rho/rhofsconnector.rb
rhodes-framework-1.0.6 lib/rho/rhofsconnector.rb
rhodes-framework-1.0.7 lib/rho/rhofsconnector.rb
rhodes-framework-1.0.9 lib/rho/rhofsconnector.rb
rhodes-framework-1.0.8 lib/rho/rhofsconnector.rb