mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
9 lines
150 B
Ruby
9 lines
150 B
Ruby
module Callable
|
|
extend ActiveSupport::Concern
|
|
|
|
module ClassMethods
|
|
def call(*parameters)
|
|
new(*parameters).call
|
|
end
|
|
end
|
|
end |