Module: NetatalkConfig

Defined in:
lib/netatalk-config.rb,
lib/netatalk-config/version.rb

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.afpObject



6
7
8
# File 'lib/netatalk-config.rb', line 6

def afp
  template.result binding
end

.clearObject



14
15
16
# File 'lib/netatalk-config.rb', line 14

def clear
  @shares = {}
end

.sharesObject



10
11
12
# File 'lib/netatalk-config.rb', line 10

def shares
  @shares || clear
end