aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/dal_doc_objects.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-06-22 01:18:03 -0400
committerRalph Amissah <ralph@amissah.com>2013-06-22 01:18:03 -0400
commit6bf6c320b8ad2cb5aa588575565af70b437aa322 (patch)
treeb2c92c4b75de5c9dcbfb6639e56aac38cf545e67 /lib/sisu/v5/dal_doc_objects.rb
parentdebian/changelog (4.1.4-1) (diff)
parentv5: general code cleaning (diff)
Merge tag 'sisu_4.1.5' into debian/sid
SiSU 4.1.5
Diffstat (limited to 'lib/sisu/v5/dal_doc_objects.rb')
-rw-r--r--lib/sisu/v5/dal_doc_objects.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v5/dal_doc_objects.rb b/lib/sisu/v5/dal_doc_objects.rb
index de9d568f..64ddbfb1 100644
--- a/lib/sisu/v5/dal_doc_objects.rb
+++ b/lib/sisu/v5/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'