local U=require("\112\108\046\112\097\116\104")local e={}function e.file()return U.abspath((debug.getinfo(2,"\083")).source:match("\064\063\040\091\094\091\061\093\046\043\041"))end function e.dir()return U.dirname(e.file())end return e
local path = require("pl.path")

local M = {}

function M.file()
  return path.abspath(debug.getinfo(2, "S").source:match("@?([^[=].+)"))
end

function M.dir()
  return path.dirname(M.file())
end

return M
