[ruby-it] Nome piattaforma

Antonio Cangiano acangiano a gmail.com
Ven 29 Gen 2010 17:47:39 CET


2010/1/29 Daneel Olivaw <daneel.olivaw.r a gmail.com>

> if piattaforma.include?("linux") == true


Non hai bisogno di confrontarlo con true. piattaforma.include? restituisce
già un booleano.

Ciao,
Antonio
-- 
http://ThinkCode.TV - Screencast e videocorsi di programmazione
http://antoniocangiano.com - Zen and the Art of Programming
http://math-blog.com - Mathematics is wonderful!
Follow me on Twitter: http://twitter.com/acangiano
Author of "Ruby on Rails for Microsoft Developers" (Wrox, 2009)


More information about the Ml mailing list