README.adoc in lutaml-0.4.1 vs README.adoc in lutaml-0.5.0
- old
+ new
@@ -35,10 +35,12 @@
In order to parse files supported by lutaml extensions, use Lutaml::Parser.parse method.
[source,ruby]
----
# example.exp is an EXPRESS repository file
-Lutaml::Parser.parse(File.new("example.exp")) # will produce Lutaml::LutamlPath::DocumentWrapper object with serialized express repository
+Lutaml::Parser.parse([File.new("example.exp")]) # will produce Lutaml::LutamlPath::DocumentWrapper object with serialized express repository
+# example.yaml is an EXPRESS cache file
+Lutaml::Parser.parse([File.new("example.yaml")], ::Lutaml::Parser::EXPRESS_CACHE_PARSE_TYPE)
----
== With cli tool
There is a cli tool available for parsing lutaml/exp files(also yaml datastruct files are supported).
\ No newline at end of file