易截截图软件、单文件、免安装、纯绿色、仅160KB

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 you’re able to write code in the Ruby programming language that you already know and love, while at the same time taking advantage of the performance and functionality of a featureful, highly optimized C++ toolkit. Projects Using FXRuby Projects using FXRuby include: BeERP is a commercial ERP built entirely with the FXRuby library. Discretizer is an interactive mesh creation tool. It can be used to create geometry and meshes for three dimensional flow simulations (CFD). foxGUIb is an interactive gui builder and codegenerator for FXRuby. This tool makes it easy to quickly build complex and good looking graphical user interfaces for Ruby. FXRI is a FXRuby Interface to RI that supports search-on-typing. FXRI is a small little program that tries to provide the desired information as fast as possible. fxtwitter is a simple Twitter client written in Ruby. FreeRIDE is an IDE for the Ruby programming language. http://opensource.csdn.net/project/lang/26?show=hots&p=5 MasterView™ - Rails-optimized (x)html friendly template engine http://masterview.org/ RubyScript2Exe http://www.erikveen.dds.nl/rubyscript2exe/index.html   RUBY GUI框架:http://opensource.csdn.net/project/lang/26?tag=178
可可鱼:http://www.kekeyu.com/ruby/open_2665.html 一个ERP: http://donmanolo2.sourceforge.net/
GUI: http://ruby-gnome2.sourceforge.jp/hiki.cgi
鞋:http://github.com/why/shoes/tree/master Hamster介绍: URL:            http://rubyforge.org/frs/download.php/11419/hamster_beta_build_060629.rar          
来源:可可鱼开源网 赞助:www.


相关文档:

RUBY实践—Ruby Report之Ruport简单应用

Ruport官方网站:http://www.rubyreports.org/
本例中将介绍Ruby报表的简单开发
开发环境
OS:WindowsXP
Ruby:Ruby1.8.7
Rails:Rails2.3.5
Mysql:Mysql5.0.9
IDE:Rubymine2.0.1
一、安装gem
安装命令
gem install ruport
gem install ruport-util
gem install acts_as_reportable
二、创建数据库
  datab ......

ruby 字符串 理解 "" ''

ruby中单引号和双引号的意义有所不同,双引号包围的字符作变量替换,单引号包围的变量不做替换
也可以使用 %q 和 %Q 来生成字符串对象。%q 相当于单引号,%Q相当于双引号。
举例如下:
irb(main):010:0> "show trsult: #{1*3}"
=> "show trsult: 3"
irb(main):011:0> 'show trsult: #{1*3}'
=> "show trs ......

Ruby Ruport实践—中文PDF报表之FPDF

Ruport中pdf_writer对中文的支持并不好,输出的中文显示的是乱码。上网查了很多资料,也没有找到好的解决方案,无奈只好查看源代码,到底为什么Ruport自带的PDF工具不支持中文输出。
Ruport::Formatter::PDF::Writer中找到以下代码
   metrics = load_font_metrics(font)
   metrics = PDF::Writer: ......

Install ruby 1.9 on Windows using zip binary

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语言学习系列 基本的ruby语法


Ruby语言学习系列--基本的ruby语法
 
1.     基本的ruby语法
1.1      变量、常量和类型
1)      定义变量
变量类型
描述
示例
局部变量(或伪变量)
以小写字母或下划线卡头
var    _var
全局变量
以$开头
$ ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号