Module: Dieses::Application::Mixins::Squares
- Included in:
- Sheets::Graph, Sheets::Lettering
- Defined in:
- lib/dieses/application/mixins/squares.rb
Instance Method Summary collapse
Instance Method Details
#squares(unit: Undefined, multiple: Undefined) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/dieses/application/mixins/squares.rb', line 7 def squares(unit: Undefined, multiple: Undefined) param = self.param draw unit: Undefined.default(unit, param.unit), multiple: Undefined.default(multiple, param.multiple) do repeat do repeat do square :square, width: multiple right multiple end down multiple end end end |