aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/param_identify_markup.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-01-06 22:42:31 -0500
committerRalph Amissah <ralph@amissah.com>2014-01-06 22:42:31 -0500
commit0e42ce6f34c3cfdf370f439f58c4e3de8b05ea92 (patch)
tree6fc9ffb3f627a91138a1479d6fa144687b7b45e3 /lib/sisu/v5/param_identify_markup.rb
parentv5: docbook, fictionbook, some tidying (diff)
v5: cosmetic code, case statement
Diffstat (limited to 'lib/sisu/v5/param_identify_markup.rb')
-rw-r--r--lib/sisu/v5/param_identify_markup.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v5/param_identify_markup.rb b/lib/sisu/v5/param_identify_markup.rb
index b042c9bc..f6884c7d 100644
--- a/lib/sisu/v5/param_identify_markup.rb
+++ b/lib/sisu/v5/param_identify_markup.rb
@@ -151,8 +151,8 @@ module SiSU_MarkupType
end
def series
s=case identify.version[:determined].to_s
- when /^[01]\./; '1.0'
- when /^[2]\./; '2.0'
+ when /^[01]\./ then '1.0'
+ when /^[2]\./ then '2.0'
else '2.0'
end
"series #{s}"