Removed final newline from snippet files.

This commit is contained in:
Joao Tavora
2011-10-13 14:34:13 +01:00
parent 6c84d6c428
commit d3086586be
229 changed files with 229 additions and 232 deletions

View File

@@ -1,3 +1,3 @@
#name : # =>
# --
# =>
# =>

View File

@@ -2,4 +2,4 @@
# --
=begin rdoc
$0
=end
=end

View File

@@ -2,4 +2,4 @@
# --
if __FILE__ == $PROGRAM_NAME
$0
end
end

View File

@@ -2,4 +2,4 @@
# --
Benchmark.bmbm(${1:10}) do |x|
$0
end
end

View File

@@ -3,4 +3,4 @@
case ${1:object}
when ${2:condition}
$0
end
end

View File

@@ -1,3 +1,3 @@
#name : deep_copy(...)
# --
Marshal.load(Marshal.dump($0))
Marshal.load(Marshal.dump($0))

View File

@@ -1,3 +1,3 @@
#name : /usr/bin/ruby -wKU
# --
#!/usr/bin/ruby -wKU
#!/usr/bin/ruby -wKU

View File

@@ -1,3 +1,3 @@
#name : require "..."
# --
require "$0"
require "$0"

View File

@@ -1,3 +1,3 @@
#name : require File.join(File.dirname(__FILE__), ...)
# --
require File.join(File.dirname(__FILE__), $0)
require File.join(File.dirname(__FILE__), $0)

View File

@@ -1,3 +1,3 @@
#name : :yields: arguments (rdoc)
# --
:yields: $0
:yields: $0