Class: VimGet::Configure
- Inherits:
-
Object
- Object
- VimGet::Configure
- Defined in:
- lib/vimget/configure.rb
Instance Attribute Summary collapse
-
#base_dir ⇒ Object
readonly
Returns the value of attribute base_dir.
-
#db_dir ⇒ Object
readonly
Returns the value of attribute db_dir.
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#distfiles_dir ⇒ Object
readonly
Returns the value of attribute distfiles_dir.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
-
#vim_dir ⇒ Object
readonly
Returns the value of attribute vim_dir.
Instance Method Summary collapse
-
#initialize ⇒ Configure
constructor
A new instance of Configure.
Constructor Details
#initialize ⇒ Configure
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_dir ⇒ Object (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_dir ⇒ Object (readonly)
Returns the value of attribute db_dir.
19 20 21 |
# File 'lib/vimget/configure.rb', line 19 def db_dir @db_dir end |
#debug ⇒ Object
Returns the value of attribute debug.
20 21 22 |
# File 'lib/vimget/configure.rb', line 20 def debug @debug end |
#distfiles_dir ⇒ Object (readonly)
Returns the value of attribute distfiles_dir.
19 20 21 |
# File 'lib/vimget/configure.rb', line 19 def distfiles_dir @distfiles_dir end |
#verbose ⇒ Object
Returns the value of attribute verbose.
20 21 22 |
# File 'lib/vimget/configure.rb', line 20 def verbose @verbose end |
#vim_dir ⇒ Object (readonly)
Returns the value of attribute vim_dir.
19 20 21 |
# File 'lib/vimget/configure.rb', line 19 def vim_dir @vim_dir end |