【文件属性】:
文件名称:alphabetize:Ruby gem 通过按字母顺序排列您的 Gemfile 来缓解您的强迫症
文件大小:10KB
文件格式:ZIP
更新时间:2021-07-04 12:36:30
Ruby
按字母顺序排列
Ruby gem 通过按字母顺序排列您的 Gemfile 来缓解您的强迫症
安装
将此行添加到应用程序的 Gemfile 中:
gem 'alphabetize'
然后执行:
$ bundle
或者自己安装:
$ gem install alphabetize
用法
转到 Rails 应用程序的根级别并运行
$ alphabetize
贡献
分叉吧
创建您的功能分支( git checkout -b my-new-feature )
提交您的更改( git commit -am 'Added some feature' )
推送到分支( git push origin my-new-feature )
创建新的拉取请求
【文件预览】:
alphabetize-master
----.gitignore(154B)
----bin()
--------alphabetize(75B)
----LICENSE(1KB)
----README.md(563B)
----alphabetize.gemspec(694B)
----lib()
--------alphabetize.rb(4KB)
----Gemfile(96B)
----Rakefile(2KB)
----test()
--------test_alphabetize.rb(2KB)
--------testfiles()