lib/xommelier/xml/namespace.rb in xommelier-0.1.8 vs lib/xommelier/xml/namespace.rb in xommelier-0.1.9
- old
+ new
@@ -39,9 +39,17 @@
attribute(name)
end
@options.merge!(options)
end
+ def module
+ options[:module]
+ end
+
+ def schema
+ self.module.schema
+ end
+
def scoped(&block)
instance_exec(&block)
end
def attribute(*names, &block)