aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/sst_identify_markup.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-10-01 15:33:55 -0400
committerRalph Amissah <ralph@amissah.com>2012-10-01 15:33:55 -0400
commit7d4665f60be31a0481416cfc152bac4442cc6e74 (patch)
tree295a7c81ace0792ab5a32427cdbb9c6b8e1a6184 /lib/sisu/v3/sst_identify_markup.rb
parentv3: vim, ftplugin/sisu.vim (diff)
v3: cosmetic code, true ? x : y
Diffstat (limited to 'lib/sisu/v3/sst_identify_markup.rb')
-rw-r--r--lib/sisu/v3/sst_identify_markup.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v3/sst_identify_markup.rb b/lib/sisu/v3/sst_identify_markup.rb
index 60c28bf5..012475be 100644
--- a/lib/sisu/v3/sst_identify_markup.rb
+++ b/lib/sisu/v3/sst_identify_markup.rb
@@ -236,9 +236,9 @@ WOK
end
else puts 'file not found: ' + @opt.fns
end
- if defined? markup.version; markup.version
- else 'markup type/version not determined'
- end
+ (defined? markup.version) \
+ ? markup.version
+ : 'markup type/version not determined'
end
def markup_version?
if @opt.fns.empty?