Top Level Namespace

Defined Under Namespace

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

Constant Summary collapse

MSPEC_HOME =

! /usr/bin/env ruby

File.expand_path(File.dirname(__FILE__) + '/../../..')
RUBY_NAME =
Config::CONFIG["RUBY_INSTALL_NAME"] || Config::CONFIG["ruby_install_name"]
TOLERANCE =
0.00003

Class Method Summary collapse

Class Method Details

.write(str) ⇒ Object



12
13
14
15
# File 'lib/mspec/runner.rb', line 12

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