aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/dal_metadata.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/dal_metadata.rb')
-rw-r--r--lib/sisu/v3/dal_metadata.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/dal_metadata.rb b/lib/sisu/v3/dal_metadata.rb
index 1e394ab3..31a7e4b2 100644
--- a/lib/sisu/v3/dal_metadata.rb
+++ b/lib/sisu/v3/dal_metadata.rb
@@ -65,11 +65,11 @@ module SiSU_metadata
@tr=SiSU_Translate::Source.new(md,language)
end
def make_para(obj,ocn)
- h={:obj=>obj,:ocn=>0}
+ h={ obj: obj, ocn: 0 }
SiSU_document_structure::Object_para.new.paragraph(h)
end
def make_heading(obj,ocn,name,lv,ln)
- h={:lv=>lv,:ln=>ln,:name=>name,:obj=>obj,:ocn=>0}
+ h={ lv: lv, ln: ln, name: name, obj: obj, ocn: 0 }
SiSU_document_structure::Object_heading.new.heading(h)
end
def metadata