自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(2)
  • 资源 (7)
  • 问答 (1)
  • 收藏
  • 关注

原创 2种使用class_eval动态定义方法的格式

[code="ruby"] class MyClass def initialize(dynamic_methods) @arr = Array.new(dynamic_methods) @arr.each{|m| self.class.class_eval do define_method(m) do |*value| ...

2012-12-12 08:06:36 161

原创 关于method_missing 和respond_to?的基本用法

method_missing is a well-known tool in the Ruby metaprogramming toolbox. It’s callback method you can implement that gets called when a object tries to call a method that’s, well, missing. A well know...

2012-12-12 07:46:08 441

agile web development with rails 4th edition 源代码

agile web development with rails 4th edition正式版的对应源代码 就是一些Rails3的项目程序代码

2011-04-25

Agile Web Development with Rails 4th -Final Edition

2011年3月的版本,当时的rails是3.0.5 不是beta版,

2011-04-25

The Rails3 Way, 2nd Edition

Ruby on Rails strips complexity from the development process, enabling professional developers to focus on what matters most: delivering business value via clean and maintainable code. The Rails™ 3 Way is the only comprehensive, authoritative guide to delivering production-quality code with Rails 3. Pioneering Rails expert Obie Fernandez and a team of leading experts illuminate the entire Rails 3 API, along with the idioms, design approaches, and libraries that make developing applications with Rails so powerful. Drawing on their unsurpassed experience and track record, they address the real challenges development teams face, showing how to use Rails 3 to maximize your productivity. Using numerous detailed code examples, the author systematically covers Rails 3 key capabilities and subsystems, making this book a reference that you will turn to again and again. He presents advanced Rails programming techniques that have been proven effective in day-to-day usage on dozens of production Rails systems and offers important insights into behavior-driven development and production considerations such as scalability. Dive deep into the Rails 3 codebase and discover why Rails is designed the way it is—and how to make it do what you want it to do.

2011-04-25

pdf批量修改加水印工具

用来批量修改PDF,有时候要加水印不想一页一页加的时候用

2010-10-14

The RSpec Book

The RSpec Book: Behaviour Driven Development with Rspec, Cucumber, and Friends beta 15版本,包括Rails 3 beta的内容

2010-10-14

Agile Web Development with Rails,Fourth Edition 第四版

没什么好介绍的beta版,pdf 第四版,包括Rails 3的内容。

2010-10-14

linux 驱动开发中文版 2.6内核

linux设备驱动程序第三版中文版,绝对经典,大家都是识货的,不用我多说了-Linux Device Driver for the third edition of the Chinese version. Absolute classics, and we are all know what's what, I do not have to talk a lot

2009-03-29

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除