Module: Configer::Cache

Defined in:
lib/configer/cache.rb

Class Method Summary collapse

Class Method Details

.objectObject



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/configer/cache.rb', line 5

def object

  @dir ||= Configer.pwd
  if @dir == Configer.pwd
    return @cache ||= Object.parse(Configer.mount_all)
  else
    @dir = Configer.pwd
    return @cache = Object.parse(Configer.mount_all)
  end

end