Ruby include module's single method in model

前端 未结 4 2279
难免孤独
难免孤独 2021-02-19 00:28

I have a module of following

module SimpleTask
    def task1
    end
    def task2
    end
    def task3
    end
end

And I have a model which r

4条回答
提交回复
热议问题