lib/asciidoctor/abstract_node.rb in asciidoctor-1.5.4 vs lib/asciidoctor/abstract_node.rb in asciidoctor-1.5.5
- old
+ new
@@ -546,29 +546,18 @@
normalize_system_path(asset_ref, @document.base_dir, nil,
:target_name => asset_name, :recover => autocorrect)
end
# Public: Calculate the relative path to this absolute filename from the Document#base_dir
- def relative_path(filename)
- (@path_resolver ||= PathResolver.new).relative_path filename, @document.base_dir
- end
+ #def relative_path(filename)
+ # (@path_resolver ||= PathResolver.new).relative_path filename, @document.base_dir
+ #end
# Public: Check whether the specified String is a URI by
# matching it against the Asciidoctor::UriSniffRx regex.
#
# @deprecated Use Helpers.uriish? instead
def is_uri? str
Helpers.uriish? str
- end
-
- # Public: Retrieve the list marker keyword for the specified list type.
- #
- # For use in the HTML type attribute.
- #
- # list_type - the type of list; default to the @style if not specified
- #
- # Returns the single-character [String] keyword that represents the marker for the specified list type
- def list_marker_keyword(list_type = nil)
- ORDERED_LIST_KEYWORDS[list_type || @style]
end
end
end