The RhoConfig API allow access to the configuration properties. Refer to Run time configuration for a listing of the configuration properties, and some examples.
The properties in the rhoconfig.txt file for a Rhodes application are available through the RhoConfig API. To access the property, use the name of the property as the method name. For example, the following method returns the start path for your Rhodes application:
Rho::RhoConfig.start_path
For a list of the configuration properties, click here
Checks to see if a configuration property exists for this Rhodes application.
Rho::RhoConfig.exists?(configuration-property)
configuration-property |
String. A configuration property, such as 'start_path'. |