Method: XRay::HTML::Element#tag_name

Defined in:
lib/html/struct.rb

#tag_nameObject



45
46
47
# File 'lib/html/struct.rb', line 45

def tag_name
  @tag.is_a?(Node) ? @tag.text : @tag.to_s
end