Parent

OpenModule

Public Class Methods

new(&block) click to toggle source
   # File lib/more/facets/openmodule.rb, line 4
4:   def initialize(&block)
5:     instance_eval(&block) if block_given?
6:   end

Public Instance Methods

method_missing(s, *a, &b) click to toggle source
    # File lib/more/facets/openmodule.rb, line 8
 8:   def method_missing(s, *a, &b)
 9:     if block_given?
10:       define_method(s, &b)
11:     else
12:       super
13:     end
14:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.