class BehaviorTree::ShouldTickNotBooleanError

Exception for when the returned value in should_tick? is not a boolean.

Public Class Methods

new(returned_value) click to toggle source
Calls superclass method
# File lib/behavior_tree/errors.rb, line 68
def initialize(returned_value)
  err = "Return of 'should_tick?' must be a boolean value. It returned #{returned_value} (#{returned_value.class})."
  super err
end