Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
Use strip instead of chomp
Browse files Browse the repository at this point in the history
Michael Andrews committed Mar 18, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent a4576f3 commit 2e336cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/masamune/schema/map.rb
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ def encode(line, separator)
fields = []
buffer = ''
nested = false
line.chomp.each_char do |char|
line.strip.each_char do |char|
case char
when '{'
buffer << char

0 comments on commit 2e336cb

Please sign in to comment.