module Middleman::Util
def normalize_path(path)
-
(String)
-
Parameters:
-
path
(String
) --
def normalize_path(path) # The tr call works around a bug in Ruby's Unicode handling path.sub(%r{^/}, '').tr('', '') end
(String)
-
path
(String
)
--
def normalize_path(path) # The tr call works around a bug in Ruby's Unicode handling path.sub(%r{^/}, '').tr('', '') end