Skip to content

Commit b4c26c4

Browse files
author
Steven Oliver
committed
Merge pull request #283 from bsutic/ruby-strftime
Ruby strf snippet
2 parents 665d9d3 + 0fd6eef commit b4c26c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

snippets/ruby.snippets

+2
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,8 @@ snippet debug
585585
require 'ruby-debug'; debugger; true;
586586
snippet pry
587587
require 'pry'; binding.pry
588+
snippet strf
589+
strftime("${1:%Y-%m-%d %H:%M:%S %z}")${0}
588590
#############################################
589591
# Rails snippets - for pure Ruby, see above #
590592
#############################################

0 commit comments

Comments
 (0)