lib/anvl.rb in anvl-0.2.1 vs lib/anvl.rb in anvl-0.3.0

- old
+ new

@@ -1,11 +1,13 @@ require 'anvl/element' require 'anvl/document' module ANVL + # Parse an ANVL document into a hash def self.parse *args Document.parse *args end + # Serialize a Hash to an ANVL string def self.to_anvl *args anvl = Document.parse *args anvl.to_s end end