Class: CopyMyConf::Config
- Inherits:
-
Object
- Object
- CopyMyConf::Config
- Defined in:
- lib/copy_my_conf/config.rb
Instance Attribute Summary collapse
-
#user_home ⇒ Object
Returns the value of attribute user_home.
Instance Method Summary collapse
Instance Attribute Details
#user_home ⇒ Object
Returns the value of attribute user_home.
7 8 9 |
# File 'lib/copy_my_conf/config.rb', line 7 def user_home @user_home end |
Instance Method Details
#all_enabled_attributes ⇒ Object
21 22 23 |
# File 'lib/copy_my_conf/config.rb', line 21 def all_enabled_attributes [@ssh, @vim, @git].compact end |
#git ⇒ Object
9 10 11 |
# File 'lib/copy_my_conf/config.rb', line 9 def git @git ||= CopyMyConf::Git.new end |
#ssh ⇒ Object
17 18 19 |
# File 'lib/copy_my_conf/config.rb', line 17 def ssh @ssh ||=CopyMyConf::Ssh.new end |
#vim ⇒ Object
13 14 15 |
# File 'lib/copy_my_conf/config.rb', line 13 def vim @vim ||= CopyMyConf::Vim.new end |