☰
Debian Codegraph
@
3.3.8-2.2
/
/
ext
/
ripper
/
tools
/
strip.rb
☽
☼
ext/ripper/tools/strip.rb
code
plain
raw
BSD-2-clause
or
Ruby
Yukihiro Matsumoto <
[email protected]
> and others
debian/copyright
1
# frozen_string_literal: true
2
last_is_void = false
3
ARGF.each do |line|
4
case line
5
when /\A\s*\z/, /\A\#/
6
puts unless last_is_void
7
last_is_void = true
8
else
9
print line
10
last_is_void = false
11
end
12
end