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

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

Direct Known Subclasses

And, Empty, Group, Not, Or, Scalar

Instance Method Summary collapse

Methods included from ConvenientService::Support::Copyable

#copy

Methods included from ConvenientService::Support::Concern

included

Constructor Details

#initializevoid



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

abstract_method :initialize

Instance Method Details

#and?Boolean

Returns:

  • (Boolean)


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

def and?
  false
end

#each_evaluated_stepConvenientService::Service::Plugins::CanHaveConnectedSteps::Entities::Expressions::Base



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

abstract_method :each_evaluated_step

#each_stepConvenientService::Service::Plugins::CanHaveConnectedSteps::Entities::Expressions::Base



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

abstract_method :each_step

#empty?Boolean

Returns:

  • (Boolean)


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

def empty?
  false
end

#error?Boolean

Returns:

  • (Boolean)


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

abstract_method :error?

#failure?Boolean

Returns:

  • (Boolean)


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

abstract_method :failure?

#group?Boolean

Returns:

  • (Boolean)


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

def group?
  false
end

#inspectString

Returns:

  • (String)


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

abstract_method :inspect

#not?Boolean

Returns:

  • (Boolean)


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

def not?
  false
end

#or?Boolean

Returns:

  • (Boolean)


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

def or?
  false
end

#resultConvenientService::Service::Plugins::HasJSendResult::Entities::Result



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

abstract_method :result

#scalar?Boolean

Returns:

  • (Boolean)


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

def scalar?
  false
end

#stepsArray<ConvenientService::Service::Plugins::CanHaveSteps::Entities::Step>



71
72
73
74
75
76
77
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/base.rb', line 71

def steps
  array = []

  each_step { |step| array << step }

  array
end

#success?Boolean

Returns:

  • (Boolean)


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

abstract_method :success?

#to_argumentsBoolean?

Returns:

  • (Boolean, nil)


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

abstract_method :to_arguments

#with_organizerConvenientService::Service::Plugins::CanHaveConnectedSteps::Entities::Expressions::Base



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

abstract_method :with_organizer