Plugins - ERB trim mode

StarAdd to favorites

The plugin adds the ”%” to ERB trim_mode attribute. Once installed, the code in the ERB (rhtml) files can be written like this:

% array = (1..10).to_a
% array.each do |element|
    <%= element %><br/>
% end


Vidul N. Petrov

http://code.google.com/p/rails-erb-trim-mode/

http://rails-erb-trim-mode.googlecode.com/svn/trunk/erb_trim_mode/

Rails' (MIT)

  • Currently 3.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

View Extensions

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?