config:用于简化和标准化 ruby​​ 库配置的通用配置实用程序

时间:2024-07-04 21:00:27
【文件属性】:

文件名称:config:用于简化和标准化 ruby​​ 库配置的通用配置实用程序

文件大小:9KB

文件格式:ZIP

更新时间:2024-07-04 21:00:27

Ruby

功能区配置 用于简化和标准化 ruby​​ 库配置的通用配置实用程序。 安装 将此添加到您的 Gemfile 中: gem 'ribbon-config' 然后运行 bundle 或者您可以手动安装它: gem install ribbon-config 基本用法 config = Ribbon :: Config . new { ## # Key-Values. # Must be namespaced. namespace . key = 'value' another_namespace . some_config_value = 'can be any object, including nil' ## # Arrays an_array 1 an_array 2 an_array 3 proc_array { 'one' }


【文件预览】:
config-master
----.gitignore(588B)
----.rspec(30B)
----LICENSE(1KB)
----ribbon-config.gemspec(597B)
----spec()
--------config_spec.rb(3KB)
--------spec_helper.rb(4KB)
----README.md(1KB)
----lib()
--------ribbon()
----Gemfile(97B)
----Gemfile.lock(826B)

网友评论