lib/import/shake_script.rb in tracksperanto-3.5.9 vs lib/import/shake_script.rb in tracksperanto-4.0.0
- old
+ new
@@ -1,7 +1,6 @@
-# -*- encoding : utf-8 -*-
-require File.expand_path(File.dirname(__FILE__)) + "/shake_grammar/lexer"
-require File.expand_path(File.dirname(__FILE__)) + "/shake_grammar/catcher"
+require_relative "shake_grammar/lexer"
+require_relative "shake_grammar/catcher"
class Tracksperanto::Import::ShakeScript < Tracksperanto::Import::Base
def self.human_name
"Shake .shk script file"