class BehaviorTree::Decorators::ForceFailure
Returns always failure when the child is not running.
Protected Instance Methods
status_map()
click to toggle source
# File lib/behavior_tree/decorator_nodes/force_failure.rb, line 9 def status_map return status.running! if child.status.running? status.failure! end