Top Level Namespace
Defined Under Namespace
Modules: Kernel, MSpec, Mock, ScratchPad, StringSymbolAdapter Classes: ActionFilter, BackgroundGuard, BeAnInstanceOfMatcher, BeAncestorOfMatcher, BeCloseMatcher, BeEmptyMatcher, BeFalseMatcher, BeKindOfMatcher, BeNilMatcher, BeTrueMatcher, BigEndianGuard, BugGuard, ComplainMatcher, CompliantOnGuard, ConflictsGuard, ContextState, DebugAction, DescribeFormatter, DottedFormatter, EndianGuard, EqlMatcher, EqualElementMatcher, EqualMatcher, EqualUtf16Matcher, ExampleState, ExceptionState, ExtensionsGuard, FeatureGuard, FileFormatter, GdbAction, HaveClassVariableMatcher, HaveConstantMatcher, HaveInstanceMethodMatcher, HaveInstanceVariableMatcher, HaveMethodMatcher, HavePrivateInstanceMethodMatcher, HaveProtectedInstanceMethodMatcher, HavePublicInstanceMethodMatcher, HtmlFormatter, IOStub, IncludeMatcher, LittleEndianGuard, MSpecCI, MSpecMain, MSpecOption, MSpecOptions, MSpecRun, MSpecScript, MSpecTag, MatchFilter, MatchYAMLMatcher, MethodFormatter, MethodMatcher, MkSpec, MockObject, MockProxy, NameMap, NonComplianceGuard, NotCompliantOnGuard, NumericMockObject, Object, OutputMatcher, OutputToFDMatcher, PlatformGuard, ProfileFilter, QuarantineGuard, RaiseErrorMatcher, RegexpFilter, RespondToMatcher, RunnerGuard, SpecExpectation, SpecExpectationNotFoundError, SpecExpectationNotMetError, SpecGuard, SpecNegativeOperatorMatcher, SpecPositiveOperatorMatcher, SpecTag, SpecVersion, SpecdocFormatter, SpinnerFormatter, SummaryFormatter, SuperUserGuard, SupportedGuard, TTYGuard, TagAction, TagFilter, TagListAction, TagPurgeAction, Tally, TallyAction, TimerAction, UnitdiffFormatter, UserGuard, VariableMatcher, VersionGuard, YamlFormatter
Constant Summary collapse
- SPEC_TEMP_DIR =
Creates a temporary directory in the current working directory for temporary files created while running the specs. All specs should clean up any temporary files created so that the temp directory is empty when the process exits.
"#{File.(Dir.pwd)}/rubyspec_temp"
- MSPEC_HOME =
! /usr/bin/env ruby
File.(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
13 14 15 16 |
# File 'lib/mspec/runner.rb', line 13 def $stderr.write(str) # The 'useless use of' warnings are a crime against OO. str =~ /useless use of/ ? nil : super end |