lib/jekyll-diagrams/util.rb in jekyll-diagrams-0.7.0 vs lib/jekyll-diagrams/util.rb in jekyll-diagrams-0.7.1

- old
+ new

@@ -17,15 +17,11 @@ def config_for(context, name) diagrams_config(context).fetch(name, {}) end - def java_classpath(jar) - File.join(vendor_path, jar) - end - - def vendor_path - File.expand_path('../../vendor', __dir__) + def vendor_path(file = '') + File.join(File.expand_path('../../vendor', __dir__), file) end end end end end \ No newline at end of file