lib/ppds/class_factory.rb in grumblr-2.4.1 vs lib/ppds/class_factory.rb in grumblr-2.4.2
- old
+ new
@@ -1,4 +1,6 @@
+# encoding: utf-8
+
module Ppds
class ClassFactory
def initialize(data=[])
for att in data
set(att.name.gsub(/-/,'_'), att.value)