Class Corpus
In: lib/mirimiri/corpus.rb
Parent: Object

Methods

files   new  

Attributes

path  [RW] 

Public Class methods

Public Instance methods

Recursively outputs all files in self.path. WARNING ! This function may take a lot of time if many files are in subdirectories.

  c = Corpus.new "my/path"
  c.files                  # => ["README.txt", "lib/code.rb"]

[Validate]