diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-06-25 00:07:44 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-06-25 00:07:44 -0400 |
commit | c25fc2751886278a4e7f30f127e80449160a47f1 (patch) | |
tree | d19cab06d629a995848a296409693b5890d59f60 /lib/sisu/v4/dal_doc_objects.rb | |
parent | v5: "general code cleaning" fix (diff) |
v4: general code cleaning, sync with v5sisu_4.1.6
Diffstat (limited to 'lib/sisu/v4/dal_doc_objects.rb')
-rw-r--r-- | lib/sisu/v4/dal_doc_objects.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v4/dal_doc_objects.rb b/lib/sisu/v4/dal_doc_objects.rb index d44eb0c3..12441156 100644 --- a/lib/sisu/v4/dal_doc_objects.rb +++ b/lib/sisu/v4/dal_doc_objects.rb @@ -62,7 +62,7 @@ module SiSU_DAL_DocumentStructure class Extract def extract(h,o) - obj=h ? h : o + h ? h : o end end class ObjectMetadata @@ -106,7 +106,7 @@ module SiSU_DAL_DocumentStructure @tags=[] end def heading_ln(lv) - ln=case lv + case lv when /A/; 1 when /B/; 2 when /C/; 3 @@ -119,7 +119,7 @@ module SiSU_DAL_DocumentStructure end end def heading_lv(ln) - lv=case ln.to_s + case ln.to_s when /1/; 'A' when /2/; 'B' when /3/; 'C' |