Sha256: 1b6bbf8cff7962f9978332055e008a4067db3344e7f5bea4511a8c4b79f35d0e

Contents?: true

Size: 228 Bytes

Versions: 3

Compression:

Stored size: 228 Bytes

Contents

class ReportsController < ApplicationController
  
  def sample
    @items = [
      {name: "Hello"},
      {name: "World"},
    ]
  end

  def table
    @items = [
      [1,2,3],
      [4,5,6],
      [7,8,9],
    ]
  end
 
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
prawn-rails-1.2.1 test/dummy_app/app/controllers/reports_controller.rb
prawn-rails-1.2.0 test/dummy_app/app/controllers/reports_controller.rb
prawn-rails-1.1.0 test/dummy_app/app/controllers/reports_controller.rb