Update various snippets

This commit is contained in:
2015-07-31 12:18:35 +01:00
parent b6fd922a7c
commit a41f70bb44
4 changed files with 7 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
# name: console.log ...
# name: console.log ... (alt)
# key: pd
# --
console.log ${1:"${2:name}"}$0

View File

@@ -1,4 +1,4 @@
# name: ruby pp
# name: pp ...
# key: pp
# --
require 'pp'

View File

@@ -1,4 +1,4 @@
# name: ruby ppd
# name: puts ...; pp ...
# key: ppd
# --
puts "\n>>>>>> ${1:name}:"; pp $0

View File

@@ -0,0 +1,4 @@
# name: STDOUT.puts debug
# key: spd
# --
STDOUT.puts "\n>>>>>> ${1:name}: ${2:#{${3:variable}${4:.inspect}}}\n"$0