Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby Hypertext Refinement -- the ease of PHP with the elegance of Ruby
Ruby
Tag: v0.1.2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
spec
.travis.yml
Gemfile
Gemfile.lock
Rakefile
Readme.md
rhr.gemspec

Readme.md

Ruby Hypertext Refinement -- the ease of PHP with the elegance of Ruby

Install

sudo gem install rhr

Usage

echo 'Hello <%= params["name"] || "RHR" %>' > index.erb
rhr server
--> http://localhost:3000
--> http://localhost:3000/index.erb?name=World

TODO (fork!)

  • use _layout.erb files as layout unless view does something like no_layout
  • add helpers like link_to / tag / form
  • escape html in params <-> xss

Author

Initial (crazy) idea by Steffen Schröder

Michael Grosser
michael@grosser.it
Hereby placed under public domain, do what you want, just do not hold me accountable...
Build Status

Something went wrong with that request. Please try again.