Class: CopyMyConf::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/copy_my_conf/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#user_homeObject

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_attributesObject



21
22
23
# File 'lib/copy_my_conf/config.rb', line 21

def all_enabled_attributes
  [@ssh, @vim, @git].compact
end

#gitObject



9
10
11
# File 'lib/copy_my_conf/config.rb', line 9

def git
  @git ||= CopyMyConf::Git.new
end

#sshObject



17
18
19
# File 'lib/copy_my_conf/config.rb', line 17

def ssh
  @ssh ||=CopyMyConf::Ssh.new
end

#vimObject



13
14
15
# File 'lib/copy_my_conf/config.rb', line 13

def vim
  @vim ||= CopyMyConf::Vim.new
end