Class: ConvenientService::Service::Plugins::CanHaveConnectedSteps::Entities::Expressions::Base Private

Inherits:
Object
  • Object
show all
Includes:
ConvenientService::Support::AbstractMethod, ConvenientService::Support::Copyable
Defined in:
lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0

Direct Known Subclasses

And, ComplexIf, Else, Empty, Group, If, Not, Or, Scalar

Instance Method Summary collapse

Methods included from ConvenientService::Support::Copyable

#copy

Methods included from ConvenientService::Support::AbstractMethod

abstract_method

Methods included from ConvenientService::Support::Concern

included

Constructor Details

#initialize ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0



21
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 21

abstract_method :initialize

Instance Method Details

#and? ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 1.0.0



106
107
108
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 106

def and?
  false
end

#complex_if? ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 1.0.0



148
149
150
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 148

def complex_if?
  false
end

#each_evaluated_step ⇒ ConvenientService::Service::Plugins::CanHaveConnectedSteps::Entities::Expressions::Base

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



56
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 56

abstract_method :each_evaluated_step

#each_step ⇒ ConvenientService::Service::Plugins::CanHaveConnectedSteps::Entities::Expressions::Base

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



51
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 51

abstract_method :each_step

#else? ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 1.0.0



141
142
143
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 141

def else?
  false
end

#empty? ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 1.0.0



127
128
129
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 127

def empty?
  false
end

#error? ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 1.0.0



46
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 46

abstract_method :error?

#failure? ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 1.0.0



41
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 41

abstract_method :failure?

#group? ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 1.0.0



120
121
122
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 120

def group?
  false
end

#if? ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 1.0.0



134
135
136
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 134

def if?
  false
end

#inspect ⇒ String

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (String)

Since:

  • 1.0.0



66
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 66

abstract_method :inspect

#not? ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 1.0.0



99
100
101
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 99

def not?
  false
end

#or? ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 1.0.0



113
114
115
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 113

def or?
  false
end

#organizer ⇒ ConvenientService::Service

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

Since:

  • 1.0.0



31
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 31

abstract_method :organizer

#result ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



26
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 26

abstract_method :result

#scalar? ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 1.0.0



92
93
94
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 92

def scalar?
  false
end

#steps ⇒ Array<ConvenientService::Service::Plugins::CanHaveSteps::Entities::Step>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



81
82
83
84
85
86
87
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 81

def steps
  array = []

  each_step { |step| array << step }

  array
end

#success? ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 1.0.0



36
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 36

abstract_method :success?

#to_arguments ⇒ Boolean?

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean, nil)

Since:

  • 1.0.0



76
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 76

abstract_method :to_arguments

#with_organizer ⇒ ConvenientService::Service::Plugins::CanHaveConnectedSteps::Entities::Expressions::Base

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



61
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 61

abstract_method :with_organizer