Sha256: 71fe4272df9247ce4d93ea4c449bc83b1ebee3e0747f3eb5610dbb87f1a2d977
Contents?: true
Size: 251 Bytes
Versions: 9
Compression:
Stored size: 251 Bytes
Contents
module Hike class Paths < NormalizedArray def initialize(root = ".") @root = root super() end def normalize_element(path) path = File.join(@root, path) unless path[/^\//] File.expand_path(path) end end end
Version data entries
9 entries across 9 versions & 1 rubygems