Class: ConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Factories::Base

Inherits:
Object
  • Object
show all
Includes:
ConvenientService::Support::AbstractMethod
Defined in:
lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/base.rb

Direct Known Subclasses

Hash::Base, Method, Reassignment, String, Symbol

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from ConvenientService::Support::Concern

included

Constructor Details

#initialize(other:) ⇒ void

Parameters:

  • other (Object)

    Can be any type.



39
40
41
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/base.rb', line 39

def initialize(other:)
  @other = other
end

Instance Attribute Details

#otherObject (readonly)

Returns the value of attribute other.



18
19
20
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/base.rb', line 18

def other
  @other
end

Instance Method Details

#==(other) ⇒ Boolean?

Parameters:

  • other (Object)

    Can be any type.

Returns:

  • (Boolean, nil)


47
48
49
50
51
52
53
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/base.rb', line 47

def ==(other)
  return unless other.instance_of?(self.class)

  return false if self.other != other.other

  true
end

#create_callerConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Callers::Base



33
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/base.rb', line 33

abstract_method :create_caller

#create_keyConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Key



23
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/base.rb', line 23

abstract_method :create_key

#create_nameConvenientService::Service::Plugins::CanHaveSteps::Entities::Method::Entities::Name



28
# File 'lib/convenient_service/service/plugins/can_have_steps/entities/method/entities/factories/base.rb', line 28

abstract_method :create_name