Ruby缓存和序列化库:Kashmir

jopen 9年前

Kashmir 是一个 Ruby DSL,轻松搞定缓存和序列化。

示例代码:

class Person  include Kashmir     def initialize(name, age)    @name = name    @age = age  end     representations do    rep :name    rep :age  end  end

项目主页:http://www.open-open.com/lib/view/home/1437969029050