summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ironware.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2015-09-14 11:29:10 +0300
committerSaku Ytti <saku@ytti.fi>2015-09-14 11:29:10 +0300
commit3c1c5106ccc3e45d9ab791458a53a252497d0203 (patch)
tree0d1c87520d239fa3eea74c166c4e12785ff1ae04 /lib/oxidized/model/ironware.rb
parentc0a00892128562d1c78cce9d8cbc58b723ab4ba7 (diff)
Fix new line removal
Probably the intention was cfg.each_line.to_a[1..-3].map(&:rstrip).join("\n") But as it's just incorrectly removed new line from last line, clearly the rstrip has not been needed, so not gonna add it unless proven that it's needed. Spotted by @nickhilliard
Diffstat (limited to 'lib/oxidized/model/ironware.rb')
0 files changed, 0 insertions, 0 deletions