module ActiveInteraction::Extras::Halt
Public Instance Methods
halt!()
click to toggle source
# File lib/active_interaction/extras/halt.rb, line 12 def halt! throw :strict_error, errors end
halt_if_errors!()
click to toggle source
# File lib/active_interaction/extras/halt.rb, line 16 def halt_if_errors! halt! if errors.any? end