class Opal::HikePathFinder

def find path

def find path
  pathname = Pathname(path)
  return path if pathname.absolute? and pathname.exist?
  super
end

def initialize(paths = Opal.paths)

def initialize(paths = Opal.paths)
  super()
  append_paths(*paths)
  append_extensions '.js', '.js.rb', '.rb', '.opalerb'
end