Sha256: a3032976b716123efc5b7c7dd6a67bd173daa68135b6f9aef38c1628cd2e9099
Contents?: true
Size: 311 Bytes
Versions: 21
Compression:
Stored size: 311 Bytes
Contents
require 'rubrowser/parser/file' require 'rubrowser/parser/directory' module Rubrowser module Parser class Factory def self.build(file) if ::File.file?(file) File.new(file) elsif ::File.directory?(file) Directory.new(file) end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems