Sha256: 61c5f906965a456564fdc801d5723dcda8f8bd73565ba7c9dd61955498b223be

Contents?: true

Size: 775 Bytes

Versions: 7

Compression:

Stored size: 775 Bytes

Contents

# Deas

Handler-based web framework powered by Sinatra.

## Usage

```ruby
# in your rackup file (or whatever)

require 'deas'

class MyServer
  include Deas::Server

  router do
    get '/', 'HelloWorldHandler'
  end

end

class HellowWorldHandler
  include Deas::ViewHandler

  def run!
    body "<h1>Hello World</h1>"
  end

end

server = MyServer.new
run server
```

## Installation

Add this line to your application's Gemfile:

    gem 'deas'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install deas

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
deas-0.43.5 README.md
deas-0.43.4 README.md
deas-0.43.3 README.md
deas-0.43.2 README.md
deas-0.43.1 README.md
deas-0.43.0 README.md
deas-0.42.0 README.md