mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
init project
This commit is contained in:
9
app/services/concerns/callable.rb
Normal file
9
app/services/concerns/callable.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
module Callable
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
module ClassMethods
|
||||
def call(*parameters)
|
||||
new(*parameters).call
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user