Class: Varar::Core::Heading

Inherits:
Data
  • Object
show all
Defined in:
lib/varar/core/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#levelObject (readonly)

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



13
14
15
# File 'lib/varar/core/ast.rb', line 13

def level
  @level
end

#spanObject (readonly)

Returns the value of attribute span

Returns:

  • (Object)

    the current value of span



13
14
15
# File 'lib/varar/core/ast.rb', line 13

def span
  @span
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



13
14
15
# File 'lib/varar/core/ast.rb', line 13

def text
  @text
end

Instance Method Details

#kindObject



14
# File 'lib/varar/core/ast.rb', line 14

def kind = 'heading'