Method: ReplCode#highlighted

Defined in:
lib/puppet-repl/repl_code.rb

#highlightedString

Returns a (possibly highlighted) copy of the source code.

Returns:

  • (String)

    a (possibly highlighted) copy of the source code.



225
226
227
# File 'lib/puppet-repl/repl_code.rb', line 225

def highlighted
  print_to_output("", true)
end