Sha256: 1c27793c2052804d66eb540f423aae9c7af631768b59e4c0209036487a81d60f

Contents?: true

Size: 902 Bytes

Versions: 1

Compression:

Stored size: 902 Bytes

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

defined
event
events
height
interface
keypress
log
resize
trigger
unevent
use
view
views
width

colour
style

line
use
cursor
delay
group
name
x
y
width
height
centred

stream
text
foreground
background

align
text
width

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.1.19 docs/api.md