lib/xembly/directives.rb in xembly-0.4 vs lib/xembly/directives.rb in xembly-0.4.1

- old
+ new

@@ -57,19 +57,31 @@ Add.new(args[0]) when 'ADDIF' AddIf.new(args[0]) when 'ATTR' Attr.new(args[0], args[1]) + when 'CDATA' + fail 'CDATA command is not supported yet, please contribute' + when 'NS' + fail 'NS command is not supported yet, please contribute' + when 'PI' + fail 'PI command is not supported yet, please contribute' + when 'POP' + fail 'POP command is not supported yet, please contribute' + when 'PUSH' + fail 'PUSH command is not supported yet, please contribute' when 'REMOVE' Remove.new when 'SET' Set.new(args[0]) when 'STRICT' Strict.new(args[0]) when 'UP' Up.new when 'XPATH' Xpath.new(args[0]) + when 'XSET' + fail 'XSET command is not supported yet, please contribute' else fail "Unknown command \"#{cmd}\"" end end end