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?, #group?, #not?, #or?, #scalar?, #steps
#copy
included
Constructor Details
#initialize ⇒ void
13
14
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 13
def initialize
end
|
Instance Method Details
#==(other) ⇒ Boolean
86
87
88
89
90
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 86
def ==(other)
return unless other.instance_of?(self.class)
true
end
|
56
57
58
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 56
def each_evaluated_step(&block)
self
end
|
48
49
50
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 48
def each_step(&block)
self
end
|
#empty? ⇒ Boolean
78
79
80
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 78
def empty?
true
end
|
#error? ⇒ Boolean
40
41
42
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 40
def error?
::ConvenientService.raise Exceptions::EmptyExpressionHasNoStatus.new
end
|
#failure? ⇒ Boolean
33
34
35
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 33
def failure?
::ConvenientService.raise Exceptions::EmptyExpressionHasNoStatus.new
end
|
#inspect ⇒ String
71
72
73
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 71
def inspect
""
end
|
#result ⇒ Object
19
20
21
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 19
def result
::ConvenientService.raise Exceptions::EmptyExpressionHasNoResult.new
end
|
#success? ⇒ Boolean
26
27
28
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 26
def success?
::ConvenientService.raise Exceptions::EmptyExpressionHasNoStatus.new
end
|
95
96
97
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 95
def to_arguments
Support::Arguments.new
end
|
64
65
66
|
# File 'lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/empty.rb', line 64
def with_organizer(organizer)
self
end
|