class Asciidoctor::Document::AttributeEntry
Attributes
name[R]
negate[R]
value[R]
Public Class Methods
new(name, value, negate = nil)
click to toggle source
# File lib/asciidoctor/document.rb, line 94 def initialize name, value, negate = nil @name = name @value = value @negate = negate.nil? ? value.nil? : negate end
Public Instance Methods
save_to(block_attributes)
click to toggle source
# File lib/asciidoctor/document.rb, line 100 def save_to block_attributes (block_attributes[:attribute_entries] ||= []) << self self end