Sha256: 5a0d12bda6e4183b38069f522434ef96b3465c02334e5fdd91da72e9d42630d9

Contents?: true

Size: 197 Bytes

Versions: 1

Compression:

Stored size: 197 Bytes

Contents

module CannedTuna
  module Interface
    def draw component, **args, &block
      component.new(**args).draw_in(self, &block)
    end
  end
end

Prawn::Document.extensions << CannedTuna::Interface

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
canned_tuna-0.0.7 lib/canned_tuna/interface.rb