From: Abder-Rahman Ali on
What are === used for in Ruby? Do they work like .include?

Thanks.
--
Posted via http://www.ruby-forum.com/.

From: Brian Candler on
Abder-Rahman Ali wrote:
> What are === used for in Ruby? Do they work like .include?

There's a very good book here which will answer simple questions like
that:
http://www.ruby-doc.org/docs/ProgrammingRuby/

In the index in the bottom left corner you can navigate to "===
(Object)", although that doesn't really tell you much.

For a much better description, navigate to "Case Expressions
(expressions)" in that same window.
--
Posted via http://www.ruby-forum.com/.

From: Abder-Rahman Ali on
Brian Candler wrote:
> Abder-Rahman Ali wrote:
>> What are === used for in Ruby? Do they work like .include?
>
> There's a very good book here which will answer simple questions like
> that:
> http://www.ruby-doc.org/docs/ProgrammingRuby/
>
> In the index in the bottom left corner you can navigate to "===
> (Object)", although that doesn't really tell you much.
>
> For a much better description, navigate to "Case Expressions
> (expressions)" in that same window.

Thanks.
--
Posted via http://www.ruby-forum.com/.