Class: PrawnHtml::IgnoredTag

Inherits:
Object
  • Object
show all
Defined in:
lib/prawn_html/html_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag_name) ⇒ IgnoredTag

Returns a new instance of IgnoredTag.



98
99
100
# File 'lib/prawn_html/html_parser.rb', line 98

def initialize(tag_name)
  @tag = tag_name
end

Instance Attribute Details

#tagObject

Returns the value of attribute tag.



96
97
98
# File 'lib/prawn_html/html_parser.rb', line 96

def tag
  @tag
end