Class: Dotman::Dotfile

Inherits:
Object
  • Object
show all
Defined in:
lib/dotman/dotfile.rb

Class Method Summary collapse

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:

  • (config)


3
4
5
6
7
# File 'lib/dotman/dotfile.rb', line 3

def self.configure
    config = DotfileConfiguration.new
    @@config = config
    yield config
end

.to_script(env) ⇒ Object



9
10
11
# File 'lib/dotman/dotfile.rb', line 9

def self.to_script(env)
    @@config.to_script(env)
end