Sha256: 8045d4ac69f2d183241a96273b0ae2dbccc5edac4dedb83540344031ca49356f
Contents?: true
Size: 595 Bytes
Versions: 6
Compression:
Stored size: 595 Bytes
Contents
require 'action_logic/action_core' require 'action_logic/action_validation' module ActionLogic module ActionTask include ActionLogic::ActionValidation include ActionLogic::ActionCore def self.included(klass) klass.extend ClassMethods klass.extend ActionLogic::ActionCore::ClassMethods klass.extend ActionLogic::ActionValidation::ClassMethods end module ClassMethods def execute(params = {}) around(params) do |execution_context| execution_context.call execution_context.context end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems