Top Level Namespace

Defined Under Namespace

Modules: Kernel, MSpec, Mock, ScratchPad Classes: ActionFilter, BeAncestorOfMatcher, BeCloseMatcher, BeEmptyMatcher, BeFalseMatcher, BeKindOfMatcher, BeNilMatcher, BeTrueMatcher, BigEndianGuard, BugGuard, ComplainMatcher, ComplianceGuard, ConflictsGuard, ContextState, DebugAction, DottedFormatter, EqlMatcher, EqualElementMatcher, EqualMatcher, EqualUtf16Matcher, ExampleState, ExceptionState, Expectation, ExpectationNotFoundError, ExpectationNotMetError, ExtensionsGuard, FileFormatter, GdbAction, HtmlFormatter, IOStub, IncludeMatcher, LittleEndianGuard, MSpecCI, MSpecMain, MSpecOption, MSpecOptions, MSpecRun, MSpecScript, MSpecTag, MatchFilter, MatchYAMLMatcher, MethodFormatter, MkSpec, MockObject, MockProxy, NameMap, NegativeOperatorMatcher, NonComplianceGuard, Object, OutputMatcher, OutputToFDMatcher, PlatformGuard, PositiveOperatorMatcher, ProfileFilter, QuarantineGuard, RaiseErrorMatcher, RegexpFilter, RespondToMatcher, RunnerGuard, SpecGuard, SpecTag, SpecdocFormatter, SpinnerFormatter, SummaryFormatter, SuperUserGuard, SupportedGuard, TagAction, TagFilter, TagListAction, Tally, TallyAction, TimerAction, UnitdiffFormatter, VersionGuard, YamlFormatter

Constant Summary collapse

RUBY_NAME =
Config::CONFIG["RUBY_INSTALL_NAME"] || Config::CONFIG["ruby_install_name"]
MSPEC_HOME =

! /usr/bin/env ruby

File.expand_path(File.dirname(__FILE__) + '/../../..')
TOLERANCE =
0.00003

Class Method Summary collapse

Class Method Details

.write(str) ⇒ Object



10
11
12
13
# File 'lib/mspec/runner.rb', line 10

def $stderr.write(str)
  # The 'useless use of' warnings are a crime against OO.
  str =~ /useless use of/ ? nil : super
end