Class: VimGet::Configure

Inherits:
Object
  • Object
show all
Defined in:
lib/vimget/configure.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfigure

Returns a new instance of Configure.



22
23
24
25
26
27
28
# File 'lib/vimget/configure.rb', line 22

def initialize
  @base_dir = "~/.vimget"
  @vim_dir = "~/.vim"
  @db_dir = File.join(@base_dir, "db")
  @distfiles_dir = File.join(@base_dir, "distfiles")
  @debug = false
end

Instance Attribute Details

#base_dirObject (readonly)

Returns the value of attribute base_dir.



19
20
21
# File 'lib/vimget/configure.rb', line 19

def base_dir
  @base_dir
end

#db_dirObject (readonly)

Returns the value of attribute db_dir.



19
20
21
# File 'lib/vimget/configure.rb', line 19

def db_dir
  @db_dir
end

#debugObject

Returns the value of attribute debug.



20
21
22
# File 'lib/vimget/configure.rb', line 20

def debug
  @debug
end

#distfiles_dirObject (readonly)

Returns the value of attribute distfiles_dir.



19
20
21
# File 'lib/vimget/configure.rb', line 19

def distfiles_dir
  @distfiles_dir
end

#verboseObject

Returns the value of attribute verbose.



20
21
22
# File 'lib/vimget/configure.rb', line 20

def verbose
  @verbose
end

#vim_dirObject (readonly)

Returns the value of attribute vim_dir.



19
20
21
# File 'lib/vimget/configure.rb', line 19

def vim_dir
  @vim_dir
end