Public: Methods for managing inline elements in AsciiDoc block
Public: Get/Set the target (e.g., uri) of this inline element
Public: Get the text of this inline element
Public: Get the type (qualifier) of this inline element
# File lib/asciidoctor/inline.rb, line 13 def initialize(parent, context, text = nil, opts = {}) super(parent, context) @node_name = %Q(inline_#{context}) @text = text @id = opts[:id] @type = opts[:type] @target = opts[:target] unless (more_attributes = opts[:attributes]).nil_or_empty? update_attributes more_attributes end end
# File lib/asciidoctor/inline.rb, line 28 def block? false end
# File lib/asciidoctor/inline.rb, line 36 def convert converter.convert self end
# File lib/asciidoctor/inline.rb, line 32 def inline? true end