module Nanoc::StringExtensions
@api private
Public Instance Methods
__nanoc_cleaned_identifier()
click to toggle source
Transforms string into an actual identifier
@return [String] The identifier generated from the receiver
# File lib/nanoc/base/core_ext/string.rb, line 6 def __nanoc_cleaned_identifier "/#{self}/".gsub(/^\/+|\/+$/, '/') end