I’m writing a simple script and need to shoot off methods based on
user input via ARGV. I’m trying to avoid the if, elseif chain, so
right now I’m using send…
I’m writing a simple script and need to shoot off methods based on
user input via ARGV. I’m trying to avoid the if, elseif chain, so
right now I’m using send…
Note though that in this case the object is missing. You could
include that in the closures though.
Kind regards
robert
Ideal. Thank you.
Todd
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.