Lithium.
Small web framework.
# lithium_test.rb
require 'lithium'
class App < Lithium::Base
get '/' do
'Hello world!'
end
end
# config.ru
require './app'
run FirstApp
Run the file:
rackup
Install the gem:
gem install lithium
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