Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #108 from gderosa/develop

fix "UTF_7 is not a class" and similar errors
  • Loading branch information...
commit 68ae7986239b080c9f8afb135ec8089acb5923a1 2 parents 19418cc + b6681d0
Steve Klabnik steveklabnik authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/shoes.rb
2  lib/shoes.rb
@@ -8,7 +8,7 @@
8 8
9 9 class Encoding
10 10 %w[UTF_7 UTF_16BE UTF_16LE UTF_32BE UTF_32LE].each do |enc|
11   - eval "class #{enc};end"
  11 + eval "class #{enc};end" unless const_defined? enc.to_sym
12 12 end
13 13 end
14 14

0 comments on commit 68ae798

Please sign in to comment.
Something went wrong with that request. Please try again.