lib/gepub.rb in gepub-0.6.4.3 vs lib/gepub.rb in gepub-0.6.4.4

- old
+ new

@@ -1,8 +1,14 @@ -if !({}.respond_to? 'key') +if RUBY_VERSION < '1.9' + # hash.key class Hash def key(x) index(x) + end + end + class String + def force_encodeing(x) + self end end end require 'gepub/version'