diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-01-06 22:42:31 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-01-06 22:42:31 -0500 |
commit | 0e42ce6f34c3cfdf370f439f58c4e3de8b05ea92 (patch) | |
tree | 6fc9ffb3f627a91138a1479d6fa144687b7b45e3 /lib/sisu/v5/xhtml_epub2_concordance.rb | |
parent | v5: docbook, fictionbook, some tidying (diff) |
v5: cosmetic code, case statement
Diffstat (limited to 'lib/sisu/v5/xhtml_epub2_concordance.rb')
-rw-r--r-- | lib/sisu/v5/xhtml_epub2_concordance.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v5/xhtml_epub2_concordance.rb b/lib/sisu/v5/xhtml_epub2_concordance.rb index e75b3366..6324a8cd 100644 --- a/lib/sisu/v5/xhtml_epub2_concordance.rb +++ b/lib/sisu/v5/xhtml_epub2_concordance.rb @@ -277,9 +277,9 @@ WOK @word_map[word] << location_seg("#{@seg}\##{toy}",toy) else @word_map[word] << case line - when @rxp_lv1; location_seg('T1',toy) - when @rxp_lv2; location_seg('T2',toy) - when @rxp_lv3; location_seg('T3',toy) + when @rxp_lv1 then location_seg('T1',toy) + when @rxp_lv2 then location_seg('T2',toy) + when @rxp_lv3 then location_seg('T3',toy) end end end |