RubyGems.org

putsjs

0.1.0

Love Ruby's 'puts' syntax? Hate typing 'console.log' everytime you want to print something to the web-browser's console from your Coffecript? Then use putsjs in your rails application. putsjs allows console logging statements to be written as puts statements in your coffescript files and during asset compilation converts them into console.log statements.

installgem install putsjs -v 0.1.0
Authors

Samuel Selvanathan

4,627 total downloads 895 for this version
Owners

84d6f6a3869f5a418f60a650a51f02fd

Gemfile
gem 'putsjs', '~> 0.1.0'
Versions
  1. 0.2.0 March 26, 2012 (4.5 KB)
  2. 0.1.5 February 21, 2012 (4.5 KB)
  3. 0.1.0 February 21, 2012 (4.5 KB)
  4. 0.0.5 February 21, 2012 (4.5 KB)
  5. 0.0.1 February 21, 2012 (4.5 KB)
Runtime Dependencies
  1. coffee-rails >= 0
  2. tilt >= 0