samples/tree.rb in reflexion-0.1.29 vs samples/tree.rb in reflexion-0.1.30
- old
+ new
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
%w[xot rays reflex]
- .map {|s| File.expand_path "../../../#{s}/lib", __FILE__}
+ .map {|s| File.expand_path "../../#{s}/lib", __dir__}
.each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)}
require 'reflex'