ÇëÎÊÓÐûÓÐÈËѧϰRubyÓïÑÔ£¿
ÇëÎÊÓÐûÓÐÈËѧϰRubyÓïÑÔ£¿
Õâ¸öÎÊÌâÓÐʲôÒâÒ壿
¿Ï¶¨ÓÐ
¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£ºÇºÇ
Õâ¸ö¿ÉÒÔÓÐ
žžµØ£¬
¡£¡£¡£Óл¹ÊÇûÓУ¿
É¢·ÖµÄÒâÒåµÄÓУ¡
¹þ¹þ£¬ÓÐÈËÀ´Ìß°æÀ²~ :-]
LZÊÇÀ´·¢²ÆµÄÂð£¬Íü¼Ç´øÎäÆ÷ÁË¡£¡£¡£
ruby¿ÉÒÔÈ¥javaeye°¡£¬ÄÇÀï±È½Ï¶à
ΪʲôÓÃRuby£¬ºÍPythonÏà±ÈËüÓÐʲôÓÅÊÆ¡£
ͬ¥ÉϵÄÎÊÌâ°¡£¡£¡£¡
¶¼²î²»¶à,²»Í¬µÄ¹¤¾ß°ÕÁË
Óа¡£¬ÉϺ£ºÜÈȵģ¬»¹ÓÐÅàѵÖÐÐÄÔÚÍÆ°¡£º
http://ruby.peixun.it/
ºÜÈ«µÄ¿Î³Ì¿ÉÒÔ¿´£¨°üÀ¨rails£©£ºhttp://www.universaltraining.cn/peixun/programming/index.html
¿Ï¶¨ÓУ¬½Ó·Ö
Á½´Î½Ó·Ö
rubyºÍpythonÓÐɶ²»Í¬°¡£¬Ñ§Äĸö±È½ÏÓÐǮ;°¡£¿
jf£¡£¡£¡£¡£¡
£¡£¡£¡
ÓïÑÔÌ«¶àÁË£¬Ã»¿Õѧ¡¡
Perl code:
# ¿´¹ýÒ»¶Îʱ¼ä£¬¸Ð¾õÈ«ÊÇOO˼Ï룬ºÜÁé»î£¬µ«ÎÒÄ¿Ç°ÊÇOP˼Ï룬δÄܳÖÐøѧϰÏÂÈ¥¡£ÏÖÔÚ¼ÌÐøѧϰºÍʹÓÃPerl
Ruby±à³ÌÓïÑÔ(The Ruby Programming Language) ÖÐÎÄ°æPDF
pythonÖ÷ÒªÓÃÔÚÍøÕ¾ºǫ́£»
¶ørubyµÄwatirÒ²ÓÐÕâ·½Ã湦ÄÜ£¬¶øÇÒÆóÒµÒ»°ã»á½«rubyÖ÷ÒªÓÃÓÚ×Ô¶¯»¯²âÊÔÉÏ¡£
¸÷ÓÐÌصã°ÕÁË£¡
×îÐÂ×îÈ«Ruby¡¢Ruby on Rails¾«Æ·µç×ÓÊéµÈѧϰ×ÊÁÏÏÂÔØ
Ïà¹ØÎÊ´ð£º
ÎÒÊÇÓÃnetbeans È¥寫bnf
a program will ONLY accept strings based on the following grammar:
<compute> --> <value> = < ......
Á¬½Ó£Í£ù£ó£ñ£ìÊý¾Ý¿âµÄʱºò£¬ÀÏÊDZ¨Õâ¸ö´íÎ󣡲»ÖªµÀÔõô»ØÊÂ
¸÷λ´ó´óÃÇ£¬ÄÜ·ñ¸æÖª£¬¸Ð¼¤²»¾¡
ÁíÍ⣬ÎÒÔÚ¹«Ë¾ÓòÖУ¬¿ÉÄÜ»á³öÏÖһЩÎÊÌâ
NoMethodError in BookController#list
undefined met ......
Êý×Ö´ÓÓÒ±ßÆðÿÈýλÓÃÒ»¸ö¶ººÅ¸ô¿ª
1232445 ⇒ 1,232,445
---- ChangeStr.rbÄÚÈÝ ------------------------------------------
def change_str(num)
str = num.to_s
nil while str. ......
Python code:
puts true or false
puts false or true
ΪʲôÉÏÃæµÄÊä³ötrue£¬ÏÂÃæµÄÊä³öfalse£¿ÄѵÀÖ»ÈÏorÇ°ÃæµÄ£¿
¾Ý˵orºóÃæÊÇÖ±½ÓÊ¡ÂԵģ¬²»ÖªµÀÊDz»ÊÇÕâÑù¡£
Â¥ÉϵĴ𰸺ÃÏñ²»ÊÇÎÒÏëÒªµÄ
rubyÉçÇøÔõ ......
ÎÒÏÖÔÚ²»µÃ²»ÃæÁÙÒ»¸öÑ¡Ôñ£º A£¬Ìø²Û¼ÌÐø×öJ2EE. B,תÐÍ×örailsµÄ¿ª·¢
ÔÚй«Ë¾¹¤×÷ÒѾ°ëÄ꣬Õâ±ßµÄ·ÕΧ±È½ÏÇáËÉÓä¿ì£¬µ«ÊÇÎÒ¸ºÔðµÄÒ»¸öJavaÏîÄ¿ÒѾÉÏÏߣ¬°´ÕÕpmµÄÒªÇó£¬ÈÃÎÒתÐÍ×örails¿ª·¢¡£¾ÍÎÒѧϰrailsµÄ¹ý³ ......