Class: TeachingPrintables::PictureGridSheet

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

Constant Summary

Constants inherited from GridSheet

GridSheet::GRID_OPTIONS_DEFAULT

Instance Attribute Summary

Attributes inherited from GridSheet

#column_width, #columns, #gutter, #row_height, #rows

Instance Method Summary collapse

Methods inherited from GridSheet

#add_content, #initialize, #update_grid_options

Constructor Details

This class inherits a constructor from TeachingPrintables::GridSheet

Instance Method Details

#place_contents_in_gridbox(picture_filename) ⇒ Object



26
27
28
# File 'lib/teaching_printables.rb', line 26

def place_contents_in_gridbox(picture_filename)
  image picture_filename, fit: [@column_width,@row_height]
end