class Asciidoctor::AbstractBlock

def context= context

Returns the specified Symbol context

context - the context Symbol context to assign to this block

This method changes the context of this block. It also updates the node name accordingly.

Public: Update the context of this block.
def context= context
  @node_name = (@context = context).to_s
end