用于 Hanami 的 Ruby 核心扩展和类实用程序
Add this line to your application's Gemfile:
gem 'hanami-utils'And then execute:
$ bundleOr install it yourself as:
$ gem install hanami-utilsHanami::Utils is designed to enhance Ruby's code and stdlib. By default this gem doesn't load any code, you must require what you need.
Checks for blank. [API doc]
Callbacks to decorate methods with before and after logic. It supports polymorphic callbacks (methods and procs). [API doc]
Load classes from strings. It also supports namespaces. [API doc]
Inheritable class attributes. [API doc]
Deprecate Hanami features. [API doc]
Recursive, cross-platform ordered list of files. [API doc]
File utilities to manipulate files and directories. [API doc]
Hash transformations. [API doc]
Silence Ruby warnings. [API doc]
JSON engine with swappable backends (via optional multi_json gem) or powered by Ruby's json (default). [API doc]
Type coercions for most common Ruby types. [API doc]
Manage directories where to find Ruby source code or web static assets. [API doc]
Safe logic to manage relative URLs. [API doc]
URI query string transformation [API doc]
Shell colorizer [API doc]
Enhanced version of Ruby's String. [API doc]
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)See LICENSE file.
暂无开放 Issues,或尚未同步最近议题。