Programming-Idioms

History of Idiom 162 > diff from v6 to v7

Edit summary for version 7 :
New Ruby implementation by user [steenslag]

Version 6

2017-09-01, 10:21:41

Version 7

2017-09-02, 16:49:00

Idiom #162 Execute procedures depending on options

execute bat if b is a program option and fox if f is a program option.

Idiom #162 Execute procedures depending on options

execute bat if b is a program option and fox if f is a program option.

Code
bat if ARGV.include?("b")
fox if ARGV.include?("f")