Ruby±àдµÄMBT²âÊÔ¹¤¾ß
½üÈÕ´Óhttp://code.google.com/p/errfix/ÏÂÔØÁËʹÓÃruby±àдµÄMBT¹¤¾ß--errfix¡£Òò´ËÖ»ºÃѧϰһÏÂruby¡£
rubyµÄÓÅµã»¹Õæ²»ÉÙ£¬ËäÈ»ÊÇСÈÕ±¾¿ª·¢µÄ£¬ºÃ¶«Î÷ҲҪѧһ°Ñ£¬Ê¦ÒÄÖ®³¤ÒÔÖÆÒÄÂï¡£
¾Ý˵ʹÓÃruby±àÐ´ÍøÒ³ÓÈÆä·½±ã£¬´ÓÍøÉÏÏÂÔØÁË¡¶ruby on railsʵ¼ù¡·Ñ§Ï°¡£±àд´ËÊéʱʹÓõÄruby°æ±¾±È½ÏÀÏ£¬ÓÐһЩº¯Êý/Ó÷¨ÔÚа汾ÒѾÓб仯ÁË¡£ÐèÒª²»¶ÏÅÅ´í£¬ËäȻӰÏìÁËѧϰ½ø¶È¡£²»¹ýµ¹Ò²¿ÉÒÔ²»¶ÏµÃµ½Ò»µã³É¾Í¸Ð¡£
Ïà¹ØÎĵµ£º
RuportÖÐpdf_writer¶ÔÖÐÎĵÄÖ§³Ö²¢²»ºÃ£¬Êä³öµÄÖÐÎÄÏÔʾµÄÊÇÂÒÂë¡£ÉÏÍø²éÁ˺ܶà×ÊÁÏ£¬Ò²Ã»ÓÐÕÒµ½ºÃµÄ½â¾ö·½°¸£¬ÎÞÄÎÖ»ºÃ²é¿´Ô´´úÂ룬µ½µ×ΪʲôRuport×Ô´øµÄPDF¹¤¾ß²»Ö§³ÖÖÐÎÄÊä³ö¡£
Ruport::Formatter::PDF::WriterÖÐÕÒµ½ÒÔÏ´úÂë
metrics = load_font_metrics(font)
metrics = PDF::Writer: ......
Update: This post is outdated. All in one installer for 1.9
is ready now, you should use it if you need 1.9 on windows. Get it here
http://rubyforge.org/frs/?group_id=167
Ruby has “all-in-one” installer for Windows, but it is outdated. As
of May 2009, Ruby 1.9.1 is released, ......
±¾ÀýÔÚ Ruby Ruportʵ¼ù—±¨±í²ÎÊýʵÏÖ µÄ»ù´¡ÉϽøÐиÄÔ죬ʵÏÖ±¨±íÖ´Ðж¨Òåʱ±¨±í²ÎÊýµÄÔö¡¢É¾¡¢¸Ä²Ù×÷
Ò»¡¢ÐÞ¸Äviews/report_executions/edit.html.erb
²»½öÏÔʾÔÚн¨±¨±íÖ´ÐÐʱ±£´æµÄ±¨±í²ÎÊý£¬»¹¿É¶¯Ì¬ÏÔʾʣÓàµÄ²ÎÊý£¨ÕâÀï¿ØÖÆ²ÎÊý×î¶à¿É¶¨Òå5¸ö£©£¬ÕâÑù¿É±ÜÃâÒÅÍü¶¨Ò屨±í²ÎÊý»òÐèÒªÔö¼Ó±¨±í²ÎÊýµ ......
RuportĿǰ×Ô´øÖ§³ÖPDF,HTML,CSV,TXT¸ñʽÊä³ö£¬Èç¹ûÏë´òÓ¡.xml£¬.bat±¨±íÔõô°ì£¿
±¾Àý½«ÒÔXML¸ñʽΪÀý£¬ÊµÏÖRuport::FormatterµÄÁíÒ»ÖÖ×Ô¶¨ÒåÓ¦Óá£
RuportµÄÓ¦Óòο¼£º Ruby Ruportʵ¼ù—¼òµ¥±¨±íϵͳ
×¢£ºÆäËû¸ñʽµÄ±¨±íÖ»ÐèÒªÐÞ¸Ärenders¶ÔÓ¦µÄÄÚÈÝ£¨ÈçÏ£Íû±£´æÎª.bat¸ñʽ£¬½«renders :xml¸ÄΪrenders :bat£©£¬ ......