lib/pdf/core.rb in pdf-wrapper-0.0.2 vs lib/pdf/core.rb in pdf-wrapper-0.0.3
- old
+ new
@@ -1,4 +1,6 @@
+# coding: utf-8
+
class Hash
# raise an error if this hash has any keys that aren't in the supplied list
# - borrowed from activesupport
def assert_valid_keys(*valid_keys)
unknown_keys = keys - [valid_keys].flatten