method
write_spec
v2_6_3 -
Show latest stable
- Class:
Gem::TestCase::SpecFetcherSetup
write_spec(spec)public
No documentation available.
# File lib/rubygems/test_utilities.rb, line 334
def write_spec(spec) # :nodoc:
File.open spec.spec_file, 'w' do |io|
io.write spec.to_ruby_for_cache
end
end