Merge pull request #819 from mbj/add/explicit__file__support

Add explicit support for __FILE__ and __LINE__
This commit is contained in:
Markus Schirp 2018-12-24 16:19:16 +00:00 committed by GitHub
commit b9e4e7a761
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

5
meta/file.rb Normal file
View file

@ -0,0 +1,5 @@
# frozen_string_literal: true
Mutant::Meta::Example.add do
source '__FILE__'
end

5
meta/line.rb Normal file
View file

@ -0,0 +1,5 @@
# frozen_string_literal: true
Mutant::Meta::Example.add do
source '__LINE__'
end