lib/rdf/rdfa/reader/rexml.rb in rdf-rdfa-0.3.15 vs lib/rdf/rdfa/reader/rexml.rb in rdf-rdfa-0.3.16

- old
+ new

@@ -26,11 +26,11 @@ end ## # Element language # - # From HTML5 [3.2.3.3] + # From HTML5 3.2.3.3 # If both the lang attribute in no namespace and the lang attribute in the XML namespace are set # on an element, user agents must use the lang attribute in the XML namespace, and the lang # attribute in no namespace must be ignored for the purposes of determining the element's # language. # @@ -141,11 +141,11 @@ end rescue nil NodeProxy.new(n, parent) end end - # Simple case for <script> + # Simple case for &lt;script&gt; def css(path) xpath("//script[@type]") end ## @@ -167,11 +167,11 @@ end ## # Return a proxy for each child # - # @yield(child) - # @yieldparam(NodeProxy) + # @yield child + # @yieldparam [NodeProxy] def each @node_set.each do |c| yield NodeProxy.new(c, parent) end end