Class: Object

### Home Classes Methods

### In Files

- lib/test/spec.rb

### Parent

BasicObject

### Methods

- ::new
- #specify

### Files

- README
- ROADMAP
- SPECS

### Class/Module Index

Quicksearch

- Test
- Test::Spec
- Test::Spec::CustomShould
- Test::Spec::DefinitionError
- Test::Spec::Should
- Test::Spec::ShouldNot
- Test::Spec::TestCase
- Test::Spec::TestCase::ClassMethods
- Test::Spec::TestCase::InstanceMethods
- Test::Unit
- Test::Unit::UI
- Test::Unit::UI::RDox
- Test::Unit::UI::RDox::TestRunner
- Test::Unit::UI::SpecDox
- Test::Unit::UI::SpecDox::TestRunner
- Object

No matching classes.

# Object

### Constants

DisabledTestCase

### Public Class Methods

new(*args, &block) click to toggle source

    # File lib/test/spec.rb, line 521
    def initialize(*args, &block)
      test_case_initialize(*args, &block)
      @testcase.instance_eval do
        alias :test_case_specify :specify

        def specify(specname, &block)
          test_case_specify(specname) { @_result.add_disabled(specname) }
        end
        alias :it :specify
      end
    end

### Public Instance Methods

specify(specname, &block) click to toggle source

    # File lib/test/spec.rb, line 526
    def specify(specname, &block)
      test_case_specify(specname) { @_result.add_disabled(specname) }
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.