lib/string_doc.rb in pakyow-presenter-1.0.0.rc2 vs lib/string_doc.rb in pakyow-presenter-1.0.0.rc3

- old
+ new

@@ -21,10 +21,12 @@ # # All that to say, StringDoc is a tool that is very specialized to Pakyow's use-case. Use it # only when a longer parse time is acceptable and you only care about a handful of identifiable # nodes in a document. # +# @api private +# class StringDoc require "string_doc/attributes" require "string_doc/node" require "string_doc/meta_node" @@ -561,10 +563,10 @@ else name = element.text.strip.match(/@[^\s]*\s*([a-zA-Z0-9\-_]*)/)[1] labels = significance.each_with_object({}) { |significant_type, labels_hash| # FIXME: remove this special case logic labels_hash[significant_type] = if name.empty? && significant_type == :container - Pakyow::Presenter::Page::DEFAULT_CONTAINER + Pakyow::Presenter::Views::Page::DEFAULT_CONTAINER else name.to_sym end }