Module: DotFiles

Defined in:
lib/dot_files.rb,
lib/dot_files/dsl.rb,
lib/dot_files/config.rb,
lib/dot_files/errors.rb,
lib/dot_files/command.rb,
lib/dot_files/dispatch.rb

Defined Under Namespace

Modules: DSL, Dispatch, Errors Classes: Command, Config, Error

Constant Summary collapse

VERSION =
'1.0'

Class Method Summary collapse

Class Method Details

.configObject

 Return a configuration object for configuring access to the gem



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

def config
  @config ||= Config.new
end

.configuration_pathObject



29
30
31
# File 'lib/dot_files.rb', line 29

def configuration_path
  File.join(ENV['HOME'], '.dotfiles')
end

.siteObject



25
26
27
# File 'lib/dot_files.rb', line 25

def site
  "http://mydotfiles.com"
end