Class: MultiWmcd

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

Instance Method Summary collapse

Constructor Details

#initialize(dir: '.', dxpath: nil) ⇒ MultiWmcd

Returns a new instance of MultiWmcd.



500
501
502
503
504
505
506
# File 'lib/wikimindcards_directory.rb', line 500

def initialize(dir: '.', dxpath: nil)

  @dir, @dxpath = dir, dxpath
  @hc = HashCache.new
  cache_read()

end

Instance Method Details

#read(path = '') ⇒ Object



508
509
510
# File 'lib/wikimindcards_directory.rb', line 508

def read(path='')
  cache_read(path)
end