Files

Caricature::RubyObjectDescriptor

Describes a ruby object.

Public Instance Methods

initialize_class_members_for(klass) click to toggle source

collects all the members that aren’t a member of Object.singleton_methods

    # File lib/caricature/descriptor.rb, line 68
68:     def initialize_class_members_for(klass)
69:       @class_members += klass.methods(false).collect { |mn| MemberDescriptor.new(mn) }
70:     end
initialize_instance_members_for(klass) click to toggle source

collects all the members that are defined by this class

    # File lib/caricature/descriptor.rb, line 63
63:     def initialize_instance_members_for(klass)
64:       @instance_members += (klass.instance_methods - Object.instance_methods).collect { |mn| MemberDescriptor.new(mn) }
65:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.