In Files

Parent

Files

Object

Public Instance Methods

run_hooks_with_args_until_success(regexp, *args) click to toggle source

The name is taken from EmacsLisp

   # File lib/ruby_toggle_file.rb, line 3
3: def run_hooks_with_args_until_success(regexp, *args)
4:   private_methods(true).concat(methods(true)).grep(regexp).sort.each do |m|
5:     _ = __send__(m, *args)
6:     return _ if _
7:   end
8:   nil
9: end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.