Parent

Module

Public Instance Methods

blur() click to toggle source
    # File lib/focus.rb, line 10
10:   def blur
11:     parent = self.superclass
12: 
13:     ObjectSpace.each_object Class do |klass|
14:       next unless parent > klass
15:       next if klass == self
16: 
17:       klass.send :focus
18:       klass.send :undef_method, :default_test
19:     end
20:   end
focus(*wanteds) click to toggle source
   # File lib/focus.rb, line 2
2:   def focus *wanteds
3:     wanteds.map! { |m| m.to_s }
4:     unwanteds = public_instance_methods(false).grep(/test_/) - wanteds
5:     unwanteds.each do |unwanted|
6:       remove_method unwanted
7:     end
8:   end
zentest() click to toggle source
    # File lib/zentest.rb, line 25
25:   def zentest
26:     at_exit { ZenTest.autotest(self) }
27:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.