Render your Rails views using regular Ruby code
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
Gemfile
Gemfile.lock
README.md
Rakefile
rubyview-rails.gemspec

README.md

Rubyview-Rails — Rubyview templates for Rails views

Rubyview is a template-less view layer for your Rails apps.

Installation

gem install rubyview-rails

Usage

Rubyview-Rails provides a Rails 3 template handler allowing you to create view templates using Rubyview. Any template with a .rubyview will be handled by Rails.

The Rubyview template handler will interpret your template as a regular Ruby method, and render the return value as its output.

"Hello #{@world}!"

Authors