Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Ruby 1.9²»»áɱËÀPython

Ëɱ¾ÐкêÈçÔ¼ÓÚÊ¥µ®½Ú·¢²¼ÁËRuby 1.9¡£¸ù¾ÝRubyµÄ¹ßÀý£¬Ð¡ÊýµãºóÃæµÚһλÈç¹ûÊǵ¥Êý£¬ÄÇô¾Í±íÃ÷ÕâÊÇÒ»¸öʵÑé°æ±¾£¬²»ÍƼöÓÃÓÚ²úÆ·»·¾³¡£Ëùν“²úÆ·»·¾³”£¬¶ÔÓÚÄ¿Ç°µÄRubyÀ´Ëµ£¬»ù±¾ÉϾÍÊÇRuby on Rails¡£´ÓÄ¿Ç°RoRÉçȺµÄ·´Ó³À´¿´£¬È·ÊµÓÐÈËÕýÔÚ³¢ÊÔÓÃRuby 1.9ÅäºÏRoR£¬µ«ÊÇÉÐÊôÍæƱÐÔÖÊ¡£ÎÒѯÎÊÁËһЩ´¦ÔÚÕæʵÏîÄ¿ÖеÄRoRÍŶӣ¬Ä¿Ç°»¹Ã»ÓÐÈË´òËãÔÚ×Ô¼ºµÄÏîÄ¿ÖÐʹÓÃRuby 1.9¡£
      ÔÚRubyÉçȺÀïµÄ°ëÏɼ¶ÈËÎïMauricio FernandezÔÚÕâÀï×ܽáÁËRuby 1.9µÄÖ÷ÒªÐÂÌØÐÔ£¬ÑóÑóÈ÷È÷µÄÒ»´óƪ£¬³ä³â׿¦Ã«ËâƤµÄÓï·¨ÌÇÒ£¬ÎÒ¿´ÁË°ëÌ죬ã¶ÊÇû¿´µ½¼¸¸öÌØÓÐÒâÒåµÄ¶«Î÷¡£ÆäʵRuby 1.9µÄ×îÖØ´ó±ä»¯ÔÚÄÚ²»ÔÚÍ⣬еÄÐéÄâ»úYarv°ÑRubyµÄÐÔÄÜ´ó´óÌá¸ßÁË¡£ÔÚCSDNÉϵÄһƪתÔر¨µÀÖÐÌáµ½£¬ÔÚÒ»¸öFibonacciÐòÁеÄÆÀ²â¶Ô±ÈÖУ¬Ruby 1.9µÄÐÔÄܽÏÖ®Python 2.5.1»¹Òª¿ì³öÁ½±¶¡£µ±È»£¬½öƾ½èÒ»¸ö²âÊԾͶ϶¨Ruby 1.9µÄÐÔÄÜ¿ìÓÚPythonÊÇÓ×Öɵģ¬µ«ÊÇÏÖÔÚ¿ÉÒԿ϶¨µØ˵£¬RubyÄÔ´üÉÏÄǶ¥“ËÙ¶È×îÂýµÄ¶¯Ì¬ÓïÑÔ”µÄ´óñ×ӿ϶¨ÒªÕªµôÁË¡£
      ÓÐÈËÈÏΪ£¬ÕâÏÂ×Ó²»µÃÁËÁË£¬RubyÒª³Æ°Ô¶¯Ì¬ÓïÑÔÁË¡£ÄãÏëÏ룬RubyÒѾ­¼¸ºõÓµÓÐÁËËùÓÐÃλðãµÄÓïÑÔÌØÐÔ£¬ÉñÆæµÄ¶¯Ì¬ÄÜÁ¦£¬Ç¿´óµÄÖ§³Ö¿â£¬ÄÚÖõĸúPerl¿ÉÒԱȼçµÄÕýÔò±í´ïʽ£¬Smalltalk¼¶±ðµÄ´¿¶øÓÖ´¿µÄÃæÏò¶ÔÏóÌØÕ÷£¬¼ò½àÃ÷¿ìµÄ·ç¸ñ£¬¿çÓïÑÔÕûºÏÒ²·Ç³£ÈÝÒ×£¬Î¨Ò»µÄȱµã¾ÍÊÇËÙ¶ÈÂý¡£ÏÖÔÚÁ¬Õâ¸öȱµã¶¼±»ÃÖ²¹ÁË£¬Ruby»¹Äܵ²µÃסÂð£¿ÆäËûµÄ¶¯Ì¬ÓïÑÔ¶¼¸ÃЪ²ËÁË¡£
      ËäÈ»ÎÒÒ²ËãÊÇÒ»¸öRubyÓïÑÔµÄÓµ»¤Õߣ¬µ«ÊÇÎÒ²¢²»ÕâôÈÏΪ¡£ÌرðÊÇ£¬ÎÒ²»ÈÏΪRuby 1.9Äܹ»¶ÔPythonÔì³Éʵ¼ÊµÄÍþв£¬¸ü̸²»ÉÏ“¸Ï¾¡É±¾ø”¡£Ô­ÒòºÜ¼òµ¥£¬RubyÊÇÒ»ÖÖħ»ÃÓïÑÔ£¬¶øPythonÊÇÒ»ÖÖ¼òÔ¼ÓïÑÔ£¬PythonµÄÖ§³ÖÕßÒ²´ó¶àÊýÊǼòÔ¼Ö÷ÒåµÄÖÒʵÐÅͽ¡£¶ÔÓÚËûÃÇÀ´Ëµ£¬Ò»ÖÖÓïÑÔÔ½ÊÇħ»Ã£¬¾ÍÔ½ÎÞ·¨»ñµÃËûÃǵÄÐÅÈΡ£
      ʲôÊÇħ»ÃÓïÑÔÄØ£¿ÕâÊÇÎÒ¶Å׫³öÀ´µÄ˵·¨¡£¶Ô±à³ÌÓïÑÔ½øÐзÖÀàÓкܶ෽·¨£¬ÆäÖÐÈËÃdz£ÓõıÈÈç·Ç³£“¹ý³ÌʽÓïÑÔ”£¬“ÃæÏò¶ÔÏóÓïÑÔ”£¬“º¯ÊýʽÓïÑÔ”µÈ£¬ÕâÊÇ°´ÕÕÔÚÕâÖÖÓïÑÔÖÐԭʼµÄ¿´´ý³ÌÐòµÄ·½Ê½À´»®·Ö¡£»¹ÓбÈÈ瓱àÒëÐÍÓïÑÔ”ºÍ“½âÊÍÐÍÓïÑÔ”£¬ÕâÊÇ°´ÕÕÓïÑÔ·­Òë·¢ÉúµÄʱ¼äÀ´»®·ÖµÄ£¬»¹ÓÐһЩ±ðµÄ·Ö·¨¡£²»¹ýÎÒÒ»Ö±¾õµÃ£¬¸ù¾ÝÓïÑÔ±¾ÉíµÄÉè¼Æ·ç¸ñºÍÓµ»¤ÕßµÄÆøÖÊÒ²¿É


Ïà¹ØÎĵµ£º

ruby Ó¦ÓÃ

1£ºFXRuby is a library for developing powerful and sophisticated cross-platform graphical user interfaces (GUIs) for your Ruby applications. It¡¯s based on the FOX Toolkit, a popular open source C++ library developed by Jeroen van der Zijp. What that means for you as an application developer is that ......

Ruby RSpec ³õ²½½Ó´¥

×î½üÒ»¶Îʱ¼ä£¬ÔÚæºõ£ò£õ£â£ùµÄ²âÊÔ¿ò¼Ü¡£
´Ó²»ÊìϤBDD,RSpecµ½Ä¿Ç°Äܹ»ÉÔ΢×öµã¶«Î÷£¬¸Ð¾õ·Ç³£²»´í¡£
RubyÊÇÃŷdz£Áé»îµÄ½Å±¾ÓïÑÔ£¬´Ó¶øÒ²×ÔÈ»ÏëÓÃËü×÷Ϊ²âÊԽű¾¡£ÈÃÎÒÃDZàдµÄ´úÂë½øÈë£Ô£Ä£ÄµÄģʽ¡£
µ±È»£Ô£Ä£Ä¾­¹ýÕâЩÄêµÄ·¢Õ¹£¬ÏÖÔÚÒѾ­½øÈëBDD(Behaviour-Driven Develop)µÄʱ´ú¡£
   BDDºÍTDDÖ÷ÒªµÄ× ......

Ruby 101£º¶ÔÏóºÍ·½·¨


Ruby 101£º¶ÔÏóºÍ·½·¨
Written by Allen Lee
´Ó¾²Ì¬·½·¨ËµÆð
      ÔÚÉÏһƪÎÄÕÂĩ⣬ÎÒÃÇÌáµ½ÁËÊܱ£»¤µÄ¾²Ì¬·½·¨……Êܱ£»¤µÄ¾²Ì¬·½·¨£¿£¿RubyµÄprotected²»ÊÇÓÃÀ´ÏòÏàͬÀàÐ͵IJ»Í¬ÊµÀý¿ª·ÅÊÜÏÞ·½·¨µÄ·ÃÎʵÄÂð£¨Íü¼ÇprotectedµÄÓ÷¨ÁË£¿²»Òª½ô£¬»ØÈ¥ÉÏһƪÎÄÕ¸´Ï°Ò»Ï°ɡ££© ......

ruby xml excel

require 'win32ole'
fns = Dir.glob("*.xls")
application = WIN32OLE.new("excel.application") 
application.visible = TRUE
f = File.new('errorCauseEN.xml','w')
f.puts('<?xml version="1.0" encoding="utf-8"?>')
f.puts('<!-- edited with XMLSPY v5 U (http://www.xmlspy.com) by et8 (et8) ......

Python, Ruby Óë Groovy£¬Ë­ÓëÕù·æ£¿

 SleekEngine
Ëæ׿ÆËã»úÓ²¼þµÄ¿ìËÙ·¢Õ¹£¬10ÄêÇ°ÒòΪËÙ¶ÈÎÊÌâ¶ø±»Ú¸²¡µÄJavaÏÖÔÚ³ÉÁ˼ÆËã»úÁ÷ÑÔÓïÑÔÖеÄÀϴ󣬵«ÊÇËüÈ´ÈÔ±»ÈÏΪ¸´ÔÓ±¿ÖØ£¬½ü¼¸ÄêÀ´¶¯Ì¬Óï
ÑÔÈ´ÓкóÀ´¸ÏÉϵÄÇ÷ÊÆ£¬ÕÆÎÕÒ»ÃŶ¯Ì¬ÓïÑÔ³ÉÁ˳ÌÐòÔ±ÐèÒª¿¼ÂǵÄÊÂÒË¡£ ½üÆÚ½Ó´¥Á˼¸ÖÖÁ÷ÐеĶ¯Ì¬ÓïÑÔPython, Ruby,
Groovy£¬ËüÃÇÏà±È¾²Ì¬ÓïÑÔJava/C++À´Ëµ£¬´óÎ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ