lib/massa/tool.rb in massa-0.5.0 vs lib/massa/tool.rb in massa-0.6.0
- old
+ new
@@ -36,10 +36,10 @@
rescue Errno::ENOENT
{}
end
def config_file_from_gem
- File.expand_path('../../../config/default_tools.yml', __FILE__)
+ File.expand_path('../../config/default_tools.yml', __dir__)
end
def config_file_from_project
"#{Dir.pwd}/config/massa.yml"
end