Skip to content

Commit

Permalink
fix typo in kconv
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Apr 4, 2012
1 parent 0d6ba37 commit 6aa2444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/nkf/lib/kconv.rb
Expand Up @@ -202,7 +202,7 @@ class String
# Convert <code>self</code> to out_code. # Convert <code>self</code> to out_code.
# <code>out_code</code> and <code>in_code</code> are given as constants of Kconv. # <code>out_code</code> and <code>in_code</code> are given as constants of Kconv.
def kconv(to_enc, from_enc=nil) def kconv(to_enc, from_enc=nil)
form_enc = self.encoding if !from_enc && self.encoding != Encoding.list[0] from_enc = self.encoding if !from_enc && self.encoding != Encoding.list[0]
Kconv::kconv(self, to_enc, from_enc) Kconv::kconv(self, to_enc, from_enc)
end end


Expand Down

0 comments on commit 6aa2444

Please sign in to comment.