Class: MultiWmcd
- Inherits:
-
Object
- Object
- MultiWmcd
- Defined in:
- lib/wikimindcards_directory.rb
Instance Method Summary collapse
-
#initialize(dir: '.', dxpath: nil) ⇒ MultiWmcd
constructor
A new instance of MultiWmcd.
- #read(path = '') ⇒ Object
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 |