class Gammo::Tokenizer::Tag
Attributes
attributes[RW]
name[RW]
self_closing[RW]
Public Class Methods
new(name:, attributes: [], self_closing: false)
click to toggle source
# File lib/gammo/tokenizer.rb, line 213 def initialize(name:, attributes: [], self_closing: false) @name = name @attributes = attributes @self_closing = self_closing end
Public Instance Methods
self_closing?()
click to toggle source
# File lib/gammo/tokenizer.rb, line 219 def self_closing? !!self_closing end