lib/csl/style.rb in csl-1.0.0.pre7 vs lib/csl/style.rb in csl-1.0.0.pre8
- old
+ new
@@ -21,9 +21,13 @@
raise ParseError, "root node is not a style: #{node.inspect}" unless
node.is_a?(self)
node
end
+
+ def load(input = Style.default)
+ super
+ end
end
attr_defaults :version => Schema.version, :xmlns => Schema.namespace
attr_struct :xmlns, :version, :class, :'default-locale',
\ No newline at end of file