Flowdock
method

try_run_hook

Importance_0
v1.2.6 - Show latest stable - 0 notes - Class: HookUtils
try_run_hook(fname) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionwebservice/setup.rb, line 599
  def try_run_hook(fname)
    return false unless File.file?(fname)
    begin
      instance_eval File.read(fname), fname, 1
    rescue
      setup_rb_error "hook #{fname} failed:\n" + $!.message
    end
    true
  end
Register or log in to add new notes.