From: Me Me Date: 2008-10-24T18:36:00+09:00 Subject: Bound macro in ruby Hi all, I think it's a simple question but I couldn't find in docs. Is there a macro already defined in ruby for returning the "bound" of a value: ex: BOUND(1, 5, 10) => 5 BOUND(10, 5, 100) => 5 BOUND(1, 50, 10) => 10 -- Posted via http://www.ruby-forum.com/.