Class: Oselvar::Var::Core::Heading

Inherits:
Data
  • Object
show all
Defined in:
lib/oselvar/var/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



14
15
16
# File 'lib/oselvar/var/core/ast.rb', line 14

def level
  @level
end

#spanObject (readonly)

Returns the value of attribute span

Returns:

  • (Object)

    the current value of span



14
15
16
# File 'lib/oselvar/var/core/ast.rb', line 14

def span
  @span
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



14
15
16
# File 'lib/oselvar/var/core/ast.rb', line 14

def text
  @text
end

Instance Method Details

#kindObject



15
# File 'lib/oselvar/var/core/ast.rb', line 15

def kind = 'heading'