natto 0.9.5 → 0.9.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,16 +0,0 @@
1
- # coding: utf-8
2
- module Natto
3
- module Utils
4
- # @private
5
- def self.included(base)
6
- base.extend(ClassMethods)
7
- end
8
-
9
- module ClassMethods
10
- def force_enc(str)
11
- str.force_encoding(Encoding.default_external) if str.respond_to?(:encoding) && str.encoding!=Encoding.default_external
12
- str
13
- end
14
- end
15
- end
16
- end