An open API service indexing awesome lists of open source software.

https://github.com/filp/slash-blade

A simple routing library for the slash language.
https://github.com/filp/slash-blade

Last synced: 7 days ago
JSON representation

A simple routing library for the slash language.

Awesome Lists containing this project

README

          

## Blade

A very simple router implementation for the slash language.

### Usage:

First step:

```ruby
<%
use Blade::Router;

class MyApp {
def do_the_dew(name = "world") {
print("hello #{name}");
}
}

Blade::Router.new(λ r {
r.get("/hello/:name").where("name", %r{\w+});
}).exec(Request);
```

Second step: *???*