mdc/lib/domain/notes.rb
##
# Return the number of files in the folder
# @return [Fixnum] total number of files found

Return the number of files in the folder
Return the number of files in the folder
def count
      num = @files.count
      @folders.each { |f| num += f.count }
      num
    end
def count num = @files . count @folders . each { | f | num += f . count } num end
Return the number of files in the folder
Return the number of files in the folder
total number of files found
total number of files found
Fixnum