Method: XRay::HTML::Element#inline?

Defined in:
lib/html/struct.rb

#inline?Boolean

Returns:

  • (Boolean)


105
106
107
# File 'lib/html/struct.rb', line 105

def inline?
  INLINE_ELEMENTS.include? tag_name.downcase
end