Sha256: 65179d64a546f70caa9d81d47bfc53248f1c62da02e6b5aead2bd061a4eb06fc
Contents?: true
Size: 1.25 KB
Versions: 1
Compression:
Stored size: 1.25 KB
Contents
## Vedeu API Vedeu provides a simple DSL for the creation of terminal/console based applications. Below is a list of all the API methods. These can be accessed in your application by including Vedeu in your class or module or by calling them directly. ### API 'include' example Doing it this way will mean you can use any API method without the `Vedeu.` prefix. ```ruby class SomeClassInYourApplication include Vedeu ... ``` ### API direct example Doing it this way means you need to use the `Vedeu.` prefix. ```ruby class OtherClassInYourApplication ... def some_method Vedeu.some_api_method end ... ``` ... TODO ... ### API DSL methods #### Events - event - trigger - unevent #### Input - keypress - keys - key - interface #### Interfaces - interface - centred - colour - cursor - delay - group - height - name - style - use - width - x - y #### Views - render - views - view - view - colour - line - background - colour - foreground - stream - align - colour - style - text - width - style - name - style - use #### Menus - menu - items - name #### Miscellany - defined - height - log - resize - width
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.2.1 | docs/api.md |