mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Turn on frozen string support in all files by using a comment to avoid enabling across dependencies where it may not work. Fixes: #1177
13 lines
206 B
Ruby
13 lines
206 B
Ruby
# frozen_string_literal: true
|
|
|
|
shared_context 'temporary_dir' do
|
|
around do |example|
|
|
Dir.mktmpdir("rspec-") do |dir|
|
|
@temp_dir = dir
|
|
example.run
|
|
end
|
|
end
|
|
|
|
attr_reader :temp_dir
|
|
end
|