Sha256: 89c84f24446baa16b29191d0aaefef08cbf82a025a1d39cdc31157304c697c24

Contents?: true

Size: 849 Bytes

Versions: 5

Compression:

Stored size: 849 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module Service
    module Plugins
      module CanHaveSteps
        module Entities
          class Step
            module Plugins
              module CanBeMethodStep
                module Concern
                  include Support::Concern

                  instance_methods do
                    ##
                    # @return [Symbol, nil]
                    #
                    def method
                      extra_kwargs[:method]
                    end

                    ##
                    # @return [Boolean]
                    #
                    def method_step?
                      Utils.to_bool(method)
                    end
                  end
                end
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
convenient_service-0.17.0 lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_method_step/concern.rb
convenient_service-0.16.0 lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_method_step/concern.rb
convenient_service-0.15.0 lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_method_step/concern.rb
convenient_service-0.14.0 lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_method_step/concern.rb
convenient_service-0.13.0 lib/convenient_service/service/plugins/can_have_steps/entities/step/plugins/can_be_method_step/concern.rb