lib/polyphony/extensions/io.rb in polyphony-0.24 vs lib/polyphony/extensions/io.rb in polyphony-0.25
- old
+ new
@@ -22,10 +22,11 @@
end
EMPTY_HASH = {}.freeze
alias_method :orig_foreach, :foreach
- def foreach(name, sep = $/, limit = nil, getline_args = EMPTY_HASH, &block)
+ def foreach(_name, _sep = $/, _limit = nil, _getline_args = EMPTY_HASH,
+ &_block)
# IO.orig_read(name).each_line(&block)
raise NotImplementedError
# if sep.is_a?(Integer)
# sep = $/