Changes between Version 5 and Version 6 of TracDev/ConfigApi
- Timestamp:
- Jan 8, 2011, 9:49:53 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/ConfigApi
v5 v6 117 117 Beside these "simple" types (`BoolOption`, `IntOption`, `FloatOption`) there are also options with a little bit more "magic": 118 118 119 * `PathOption` simply describes a path that can be absolute or relative. The option will always return the absolute path.119 * `PathOption` simply describes a path that can be absolute or relative. The option always returns an absolute path. Relative paths are resolved relative to the `conf` directory of the environment. 120 120 * `ChoiceOption` is simply an option that only has a certain set of valid values. 121 121 * `ListOption` converts the option value into a list of strings. So a list option allows for iteration like this: