thingamajig:面向事物的Ruby API 3

时间:2021-05-12 21:57:12
【文件属性】:
文件名称:thingamajig:面向事物的Ruby API 3
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-12 21:57:12
Ruby 薄伽玛吉格 Thingamajig提供了一个OOPy API,可以与本地实例进行交互。 使用它来创建和操作待办事项以及更多。 用法 该自述文件缺少很多说明。 以下是一些示例代码,可以使您直观地了解如何使用它: # List all projects Thingamajig . new . projects . each do | project | puts "Found project #{ project . name } with #{ project . todos . count } todos" end # Find a project project = Thingamajig :: Project . find_by ( name : "Home" ) # List all todos (that have not been logged y
【文件预览】:
thingamajig-master
----.gitignore(87B)
----.rspec(31B)
----bin()
--------setup(115B)
--------console(336B)
----.travis.yml(30B)
----thingamajig.gemspec(1KB)
----LICENSE.txt(1KB)
----spec()
--------thingamajig_spec.rb(228B)
--------spec_helper.rb(81B)
----README.md(3KB)
----lib()
--------thingamajig.rb(410B)
--------thingamajig()
----Gemfile(96B)
----Rakefile(28B)

网友评论