README.adoc in relaton-omg-0.1.0 vs README.adoc in relaton-omg-0.2.0
- old
+ new
@@ -85,10 +85,10 @@
----
=== Create bibliographic item form Hash
[source,ruby]
----
-hash = RelatonOmg::OmgBibliographicItem.from_xml 'spec/fixtures/omg_ami4ccm_1_0.xml'
+hash = YAML.load_file 'spec/fixtures/omg_ami4ccm_1_0.xml'
=> {"id"=>"AMI4CCM1.0",
...
item = RelatonOmg::OmgBibliographicItem.from_hash hash
=> #<RelatonOmg::OmgBibliographicItem:0x007f85b0247ec0