Module: Hooks::Reason

Defined in:
scripts/00010 Hooks.rb

Overview

Extension adding reason parameter to blocks

Instance Method Summary collapse

Instance Method Details

#reasonString

Get the reason

Returns:



37
38
39
# File 'scripts/00010 Hooks.rb', line 37

def reason
  @reason
end

#reason=(reason)

Set the reason

Parameters:



43
44
45
# File 'scripts/00010 Hooks.rb', line 43

def reason=(reason)
  @reason = reason
end