Created
May 23, 2013 17:31
-
-
Save jbonney/5637850 to your computer and use it in GitHub Desktop.
Code snippet for sublime text: Rails.logger.info with variable inspect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
Rails.logger.info "${1:text} #{${2:variable}.inspect}" | |
]]></content> | |
<description>Rails logger info (variable)</description> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>logv</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.ruby</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment