【文件属性】:
文件名称:feeling_lucky:你觉得幸运吗?
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-18 21:21:39
Ruby
感觉很幸运
讨厌 NoMethodErrors? 你觉得幸运吗?
这颗宝石将使正确的拼写方法成为过去。 我们现在真的是在未来!
我强烈推荐这个 gem 用于生产环境,为什么拼写错误会避免用户使用你的应用程序?
安装
将此行添加到应用程序的 Gemfile 中:
gem 'feeling_lucky'
然后执行:
$ bundle
或者自己安装:
$ gem install feeling_lucky
用法
Object . metheads
# => [:allocate, :new, :superclass, :freeze, :===, :==, :<=>, :<, :<=, :>, :>=, :to_s, :inspect, :included_modules, :include?, :name, :ancestors, :instance_methods, :p
【文件预览】:
feeling_lucky-master
----.gitignore(118B)
----.rspec(26B)
----LICENSE.txt(1KB)
----spec()
--------feeling_lucky()
--------spec_helper.rb(83B)
----README.md(2KB)
----lib()
--------feeling_lucky()
--------feeling_lucky.rb(2KB)
----feeling_lucky.gemspec(1KB)
----Gemfile(98B)
----Rakefile(151B)