Module: Naseweis

Defined in:
lib/naseweis.rb,
lib/naseweis/version.rb,
lib/naseweis/converter.rb

Overview

The Naseweis module is a module which takes a Weisheits-file (or short Weisfile) and asks the user the questions that are defined in the Weisfile.

This is useful if you have an application that needs to ask a lot of questions and you’d rather keep the questions (the data) out of the program (the logic).

This module helps by defining a “mini-language”, which can be used to specify questions and later retrieve their answers to process them.

For more information about the file format see the Weisfile document.

Defined Under Namespace

Classes: ConversionError, Converter, Nase, WeisheitError

Constant Summary collapse

VERSION =

Version of the module

'0.0.2'.freeze