Module: LocalVariables
- Included in:
- AbstractIndex, MkLangHelp
- Defined in:
- lib/langhelp/langhelp-base.rb
Overview
begin require ‘rubygems’; rescue LoadError; 0 end require ‘hpricot’
Constant Summary collapse
- ANCHOR_BEGIN =
"<<<"
- ANCHOR_END =
">>>"
Instance Method Summary collapse
Instance Method Details
#insert_local_variables(out) ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'lib/langhelp/langhelp-base.rb', line 32 def insert_local_variables(out) out << "Local" << " Variables:\n" out << "mode: langhelp-menu\n" out << "truncate-lines: t\n" out << "tab-width: 75\n" out << "ee-anchor-format: \"#{ANCHOR_BEGIN}%s#{ANCHOR_END}\"\n" out << "End:\n" end |