Odex.
Small web framework.
# odex_test.rb
require 'odex'
class App < Odex::App
get '/' do
'Hello world!'
end
end
App.go(3000)!
Run the file:
ruby odex_test.rb
Install the gem:
gem install odex
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request