Skip to content

Commit

Permalink
Merge pull request #1 from splattael/fix-quote
Browse files Browse the repository at this point in the history
Fix spelling of "escape_quote"
  • Loading branch information
jnbt committed Nov 30, 2015
2 parents 4ff5fb5 + d9a4a60 commit 17ca500
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/linr/encoder/line.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def encode_field_value(value)
when TrueClass, FalseClass
value.to_s
else
escape_qoute(escape_value(value))
escape_quote(escape_value(value))
end
end

Expand All @@ -67,7 +67,7 @@ def escape_value(input)
.gsub('"', '\"')
end

def escape_qoute(input)
def escape_quote(input)
%("#{input}")
end

Expand Down

0 comments on commit 17ca500

Please sign in to comment.