module Nanoc::Core::CoreExt::StringExtensions
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/core/core_ext/string.rb, line 10 def __nanoc_cleaned_identifier "/#{self}/".gsub(/^\/+|\/+$/, '/') end