Variable: ruby-custom-encoding-magic-comment-template

ruby-custom-encoding-magic-comment-template is a customizable variable defined in ruby-mode.el.gz.

Value

"# encoding: %s"

Documentation

A custom encoding comment template.

It is used when ruby-encoding-magic-comment-style is set to custom.

This variable was added, or its default value changed, in Emacs 24.4.

Probably introduced at or before Emacs version 24.4.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/ruby-mode.el.gz
(defcustom ruby-custom-encoding-magic-comment-template "# encoding: %s"
  "A custom encoding comment template.
It is used when `ruby-encoding-magic-comment-style' is set to `custom'."
  :type 'string
  :version "24.4")