Class: Mdfiller::PngFill

Inherits:
Base
  • Object
show all
Defined in:
lib/mdfiller/fill.rb

Instance Attribute Summary

Attributes inherited from Base

#dir, #files, #soft

Instance Method Summary collapse

Methods inherited from Base

#empty?, #fill, #initialize

Constructor Details

This class inherits a constructor from Mdfiller::Base

Instance Method Details

#copy_filesObject



102
103
104
105
106
107
108
109
110
111
# File 'lib/mdfiller/fill.rb', line 102

def copy_files
  result = ''
  whiteboard = 0
  self.files.each do
    |fname|
    result += "\n![whiteboard n.#{whiteboard}](#{self.dir}/#{fname})\n"
    whiteboard += 1
  end
  return result
end