class Hooks::Hook::Results

Public Class Methods

new(*) click to toggle source

so much code for nothing…

Calls superclass method
# File lib/hooks/hook.rb, line 68
def initialize(*)
  super
  @halted = false
end

Public Instance Methods

halted!() click to toggle source
# File lib/hooks/hook.rb, line 73
def halted!
  @halted = true
  self
end
halted?() click to toggle source

Returns true or false based on whether all callbacks in the hook chain were successfully executed.

# File lib/hooks/hook.rb, line 80
def halted?
  @halted
end
not_halted?() click to toggle source
# File lib/hooks/hook.rb, line 84
def not_halted?
  not @halted
end