Sha256: defaeca5f44eb49ebb9601d8ee6e5380bb194f1c0684db3bdadd1cbf1676a1f4
Contents?: true
Size: 325 Bytes
Versions: 4
Compression:
Stored size: 325 Bytes
Contents
module JsTestCore module Resources class CoreFile < File map "/core" get "/?" do do_get end get "*" do do_get end def absolute_path @absolute_path ||= ::File.expand_path("#{framework_path}#{relative_path.gsub(%r{^/core}, "")}") end end end end
Version data entries
4 entries across 4 versions & 2 rubygems