static_model:使用简单的类实现从 YAML 中读取类似 ActiveRecord 的功能

时间:2021-06-20 21:29:37
【文件属性】:
文件名称:static_model:使用简单的类实现从 YAML 中读取类似 ActiveRecord 的功能
文件大小:23KB
文件格式:ZIP
更新时间:2021-06-20 21:29:37
Ruby static_model / 说明: 使用简单的类实现从 YAML 中读取类似 ActiveRecord 的功能 概要: 像 ActiveRecord::Base 一样使用,除了没有数据库,只有一个 YAML 文件。 YAML 应包含一组记录。 有关使用和设置,请查看项目站点: / 要求: YAML 主动支持 >= 2.1.0 安装: ↑ sudo gem install static_model 源码在github: github.com/quirkey/static_model / 贡献者¶ ↑ Aaron Quint (quirkey) Michael Bernstein (mrb) 许可: ¶ ↑ (麻省理工学院许可证) 版权所有 :copyright: 2008 Aaron Quint, Quirkey NYC, LLC 特此授予获得本软件副本和相关文档文件
【文件预览】:
static_model-master
----generators()
--------static_model()
----.gitignore(35B)
----test()
--------scope_test.rb(207B)
--------static_model_test.rb(14KB)
--------helper.rb(2KB)
--------associations_test.rb(2KB)
--------generator_test.rb(2KB)
--------generator_helper.rb(560B)
--------data()
----Gemfile(235B)
----License.txt(1KB)
----static_model.gemspec(3KB)
----Appraisals(165B)
----README.rdoc(2KB)
----History.txt(2KB)
----index.html(3KB)
----lib()
--------static_model()
--------static_model.rb(459B)
----Rakefile(1KB)

网友评论