Class: VimPrinter::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/vim_printer/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



4
5
6
7
8
9
10
11
12
13
14
# File 'lib/vim_printer/configuration.rb', line 4

def initialize
  @options = {
    # see: :help :TOhtml from Vim for detail
    html: [
      "-c 'let g:html_expand_tabs = 1'",
      "-c 'let g:html_use_css = 1'",
      "-c 'let g:html_no_progress = 1'",
      "-c 'let g:html_number_lines = 0'"
    ]
  }
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



3
4
5
# File 'lib/vim_printer/configuration.rb', line 3

def options
  @options
end