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
-
.config ⇒ Object
Return a configuration object for configuring access to the gem.
- .configuration_path ⇒ Object
- .site ⇒ Object
Class Method Details
.config ⇒ Object
Return a configuration object for configuring access to the gem
19 20 21 |
# File 'lib/dot_files.rb', line 19 def config @config ||= Config.new end |
.configuration_path ⇒ Object
27 28 29 |
# File 'lib/dot_files.rb', line 27 def configuration_path File.join(ENV['HOME'], '.dotfiles') end |
.site ⇒ Object
23 24 25 |
# File 'lib/dot_files.rb', line 23 def site "http://mydotfiles.com" end |