Sha256: f81db57b149806048778c3c1b03f6322ccaec4fff756c2aaaead5a13517e602e
Contents?: true
Size: 372 Bytes
Versions: 39
Compression:
Stored size: 372 Bytes
Contents
require 'hike' require 'pathname' module Opal class HikePathFinder < Hike::Trail def initialize(paths = Opal.paths) super() append_paths(*paths) append_extensions '.js', '.js.rb', '.rb', '.opalerb' end def find path pathname = Pathname(path) return path if pathname.absolute? and pathname.exist? super end end end
Version data entries
39 entries across 39 versions & 3 rubygems