Class: ConvenientService::Service::Plugins::CanHaveConnectedSteps::Entities::Expressions::Empty
- Inherits:
-
Base
- Object
- Base
- ConvenientService::Service::Plugins::CanHaveConnectedSteps::Entities::Expressions::Empty
show all
- Defined in:
- lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb
Instance Method Summary
collapse
Methods inherited from Base
#and?, #complex_if?, #else?, #group?, #if?, #not?, #or?, #scalar?, #steps
#copy
abstract_method
Constructor Details
#initialize ⇒ void
18
19
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 18
def initialize
end
|
Instance Method Details
#==(other) ⇒ Boolean?
98
99
100
101
102
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 98
def ==(other)
return unless other.instance_of?(self.class)
true
end
|
68
69
70
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 68
def each_evaluated_step(&block)
self
end
|
60
61
62
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 60
def each_step(&block)
self
end
|
#empty? ⇒ Boolean
90
91
92
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 90
def empty?
true
end
|
#error? ⇒ Boolean
52
53
54
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 52
def error?
::ConvenientService.raise Exceptions::EmptyExpressionHasNoStatus.new
end
|
#failure? ⇒ Boolean
45
46
47
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 45
def failure?
::ConvenientService.raise Exceptions::EmptyExpressionHasNoStatus.new
end
|
#inspect ⇒ String
83
84
85
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 83
def inspect
""
end
|
#organizer ⇒ Object
31
32
33
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 31
def organizer
::ConvenientService.raise Exceptions::EmptyExpressionHasNoOrganizer.new
end
|
#result ⇒ Object
24
25
26
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 24
def result
::ConvenientService.raise Exceptions::EmptyExpressionHasNoResult.new
end
|
#success? ⇒ Boolean
38
39
40
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 38
def success?
::ConvenientService.raise Exceptions::EmptyExpressionHasNoStatus.new
end
|
107
108
109
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 107
def to_arguments
Support::Arguments.new
end
|
76
77
78
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 76
def with_organizer(organizer)
self
end
|