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/ao_expand_insertions.rb | |
parent | v5: docbook, fictionbook, some tidying (diff) |
v5: cosmetic code, case statement
Diffstat (limited to 'lib/sisu/v5/ao_expand_insertions.rb')
-rw-r--r-- | lib/sisu/v5/ao_expand_insertions.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sisu/v5/ao_expand_insertions.rb b/lib/sisu/v5/ao_expand_insertions.rb index a306787a..60117e1d 100644 --- a/lib/sisu/v5/ao_expand_insertions.rb +++ b/lib/sisu/v5/ao_expand_insertions.rb @@ -68,12 +68,12 @@ module SiSU_AO_Insertions def output_filetypes_in_cmd(cmd_shortcut,lnk=nil) #make list of file types in shortcut command (as configured), e.g. when sisu -3 is used cf_defaults=SiSU_Env::InfoProcessingFlag.new cmd_list=case cmd_shortcut.inspect - when /0/; cf_defaults.cf_0 - when /1/; cf_defaults.cf_1 - when /2/; cf_defaults.cf_2 - when /3/; cf_defaults.cf_3 - when /4/; cf_defaults.cf_4 - when /5/; cf_defaults.cf_5 + when /0/ then cf_defaults.cf_0 + when /1/ then cf_defaults.cf_1 + when /2/ then cf_defaults.cf_2 + when /3/ then cf_defaults.cf_3 + when /4/ then cf_defaults.cf_4 + when /5/ then cf_defaults.cf_5 end file_type_names={} file_type_names[:gen],file_type_names[:src]=[],[] |