Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
patinthehat committed Mar 28, 2024
1 parent 6df753f commit 1653c5e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,17 @@ ray('a string');

ray(['several', 'arguments'], 'can', {be: provided});

ray().table(['one two', {a: 100, b: 200, c: 300}, [9, 8, 7]]).blue();
(await ray()).table(['one two', {a: 100, b: 200, c: 300}, [9, 8, 7]]).blue();

ray().html('<em>large text</em>').large().green();
(await ray()).html('<em>large text</em>').large().green();

ray().image('https://placekitten.com/200/300');
(await ray()).image('https://placekitten.com/200/300');

ray().clearAll();
(await ray()).clearAll();

ray().disable(); // disable sending data to Ray at runtime
(await ray()).disable(); // disable sending data to Ray at runtime

ray().xml('<one>11</one>'); // disabled, data not sent to Ray
(await ray()).xml('<one>11</one>'); // disabled, data not sent to Ray
```

## Configuration
Expand Down Expand Up @@ -273,8 +273,8 @@ See [using the package](docs/usage.md).

| Call | Description |
| --- | --- |
| `ray(variable)` | Display a string, array or object |
| `ray(var1, var2, …)` | Ray accepts multiple arguments |
| `ray(variable)` | **Asynchronous.** Display a string, array or object |
| `ray(var1, var2, …)` | **Asynchronous.** Ray accepts multiple arguments |
| `ray(…).blue()` | Output in color. Use `green`, `orange`, `red`, `blue`,`purple` or `gray` |
| `ray().caller()` | **Asynchronous.** Show the calling class and method |
| `ray().clearScreen()` | Clear current screen |
Expand Down

0 comments on commit 1653c5e

Please sign in to comment.