in reply to Re^4: OT: Ruby On Rails - your thoughts?
in thread OT: Ruby On Rails - your thoughts?
which would allow for sth.execute( fields[ 1..4 ], fields[ 4..5 ], 0, 0 ), but I'm sure there was a good reason to not do that. I haven't cared enough to find out what that reason was.def execute( *args ) args.flatten .... end
And, yes, do..end is more idiomatic, but I'm not comfortable with it yet. I'm sure I'll be making the shift soon enough. :-)
|
|---|