yard-activesupport-concern:使用 ActiveSupport 处理模块的 YARD 插件

时间:2021-06-02 07:36:15
【文件属性】:
文件名称:yard-activesupport-concern:使用 ActiveSupport 处理模块的 YARD 插件
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-02 07:36:15
Ruby YARD ActiveSupport::关注插件 这是一个扩展,它为使用ActiveSupport::Concern (在 Rails 项目中非常频繁)的模块提供支持。 这是此类模块的示例: module M extend ActiveSupport :: Concern included do # @!method disabled # @!scope class # @return [Collection] Return a scope to get all disabled records scope :disabled , -> { where ( disabled : true ) } end class_methods do # A quick way to get all published reco
【文件预览】:
yard-activesupport-concern-master
----Rakefile(29B)
----yard-activesupport-concern.gemspec(1KB)
----LICENSE(1KB)
----Gemfile(111B)
----.gitignore(118B)
----lib()
--------yard-activesupport-concern()
--------yard-activesupport-concern.rb(1KB)
----README.md(3KB)

网友评论