Bases: mrbob.configurator.MrBobError
Raised during configuration phase
Bases: object
Controller that figures out settings and renders file structure.
Parameters: |
|
---|
Render file structure given instance configuration. Basically calls mrbob.rendering.render_structure().
Bases: object
Question configuration. Parameters are used to configure validation of the answer.
Bases: mrbob.configurator.ConfigurationError
Raised reading template configuration
Bases: mrbob.configurator.MrBobError
Raised during question validation
Recursively copies the given filesystem path fs_source_root_ to a target directory `fs_target_root.
Any files ending in .bob are rendered as templates using the given renderer using the variables dictionary, thereby losing the .bob suffix.
strings wrapped in + signs in file- or directory names will be replaced with values from the variables, i.e. a file named +name+.py.bob given a dictionary {‘name’: ‘bar’} would be rendered as bar.py.