method
filename_to_label
ruby latest stable - Class:
Generators::HtmlFile
filename_to_label()public
No documentation available.
# File lib/rdoc/generators/html_generator.rb, line 797
def filename_to_label
@context.file_relative_name.gsub(/%|\/|\?|\#/) {|s| '%' + ("%x" % s[0]) }
end