Skip to content

hiroshi/partial_annotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PartialAnnotation
=================

A rails plugin which annotates begnining and end of partial by inserting a pair of comments. See example below.

Example
=======
<%= render :partial => "/foo" %>

may become:

<!-- begin partial "_foo.html.erb" -->
  ... contents of foo
<!-- end partial "_foo.html.erb" -->

Install
=======
 $ script/plugin install git://github.com/hiroshi/partial_annotation.git

Todo
====
* Support templates other than html (e.g. Javascript commnets begin with "//")


Copyright (c) 2009 Hiroshi Saito (yakitara.com), released under the MIT license

About

A rails plugin which annotates beginning and end of partial by inserting a pair of comments.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages