Object
# File lib/typhoeus/filter.rb, line 10
10: def apply_filter?(method_name)
11: if @options[:only]
12: if @options[:only].instance_of? Symbol
13: @options[:only] == method_name
14: else
15: @options[:only].include?(method_name)
16: end
17: elsif @options[:except]
18: if @options[:except].instance_of? Symbol
19: @options[:except] != method_name
20: else
21: !@options[:except].include?(method_name)
22: end
23: else
24: true
25: end
26: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.