Class: Makeup::CodeBlock

Inherits:
Struct
  • Object
show all
Defined in:
lib/makeup/syntax_highlighter.rb

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



30
31
32
# File 'lib/makeup/syntax_highlighter.rb', line 30

def code
  @code
end

#lexerObject

Returns the value of attribute lexer

Returns:

  • (Object)

    the current value of lexer



30
31
32
# File 'lib/makeup/syntax_highlighter.rb', line 30

def lexer
  @lexer
end