Sha256: 4c14306436f1624993c39a8471d51f7f7c2dcaf92bd1fa9aec163603ad0c3a54
Contents?: true
Size: 443 Bytes
Versions: 102
Compression:
Stored size: 443 Bytes
Contents
# frozen_string_literal: true module Nokogiri module HTML class ElementDescription ### # Is this element a block element? def block? !inline? end ### # Convert this description to a string def to_s "#{name}: #{description}" end ### # Inspection information def inspect "#<#{self.class.name}: #{name} #{description}>" end end end end
Version data entries
102 entries across 97 versions & 4 rubygems