Sha256: aa346c337640d3507f0c244f873a6f04fc2d734ce197725cfbdf232038d321d1

Contents?: true

Size: 1.17 KB

Versions: 9

Compression:

Stored size: 1.17 KB

Contents

# frozen_string_literal: true

module ConvenientService
  module Service
    module Plugins
      module CanHaveSteps
        module Entities
          class Method
            module Entities
              module Factories
                class Reassignment < Factories::Base
                  ##
                  # @return [ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Key]
                  #
                  def create_key
                    Entities::Key.new(other.to_sym)
                  end

                  ##
                  # @return [ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Name]
                  #
                  def create_name
                    Entities::Name.new(other.to_sym)
                  end

                  ##
                  # @return [ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Callers::Base]
                  #
                  def create_caller
                    Entities::Callers::Reassignment.new(other)
                  end
                end
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
convenient_service-0.19.1 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/reassignment.rb
convenient_service-0.19.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/reassignment.rb
convenient_service-0.18.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/reassignment.rb
convenient_service-0.17.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/reassignment.rb
convenient_service-0.16.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/reassignment.rb
convenient_service-0.15.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/reassignment.rb
convenient_service-0.14.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/reassignment.rb
convenient_service-0.13.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/reassignment.rb
convenient_service-0.12.0 lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/reassignment.rb