method

create

Importance_0
v1_9_3_392 - Show latest stable - 0 notes - Class: Spec
create(name, desc) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/minitest/spec.rb, line 224
  def self.create name, desc # :nodoc:
    cls = Class.new(self) do
      @name = name
      @desc = desc

      nuke_test_methods!
    end

    children << cls

    cls
  end
Register or log in to add new notes.