Sha256: 47d0043c30f39ef33ea924e2688b9916ebbd89b1ff7ae6cdea39a52cdd94690a
Contents?: true
Size: 892 Bytes
Versions: 3
Compression:
Stored size: 892 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Service module Plugins module HasNegatedResult module Concern include Support::Concern class_methods do ## # @api public # @raise [ConvenientService::Service::Plugins::HasNegatedResult::Exceptions::NegatedResultIsNotOverridden] # def negated_result(...) new(...).negated_result end end instance_methods do ## # @api public # @raise [ConvenientService::Service::Plugins::HasNegatedResult::Exceptions::NegatedResultIsNotOverridden] # def negated_result ::ConvenientService.raise Exceptions::NegatedResultIsNotOverridden.new(service: self) end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems