hi2all I have some trouble. How can i define the binary of value in ruby? (I have a value, and I want to know that's it true or false). The simplest (but not good in my opinion) way is to do it: > v = value.to_s > return v == "false" | v == "true" What method I can use? I can't find something helpful in core. Thanks, Michael -- Posted via http://www.ruby-forum.com/.