Method: ICFS::StoreFs#initialize

Defined in:
lib/icfs/store_fs.rb

#initialize(base) ⇒ StoreFs

New instance

Parameters:

  • base (String)

    the base directory



33
34
35
36
37
38
39
# File 'lib/icfs/store_fs.rb', line 33

def initialize(base)
  if base[-1] == '/'
    @base = base.freeze
  else
    @base = (base + '/').freeze
  end
end