Class: MarkTag::ParserProxy::HeaderProxy

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

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.headersObject

Returns the value of attribute headers.



28
29
30
# File 'lib/marktag.rb', line 28

def headers
  @headers
end

Class Method Details

.init_documentObject



29
30
31
# File 'lib/marktag.rb', line 29

def init_document
  @headers = []
end

.push(header_args) ⇒ Object



33
34
35
# File 'lib/marktag.rb', line 33

def push(header_args)
  @headers.push(header_args)
end