Sha256: 0c1fcc2c927541921834f22620792031582199d8f83985a0e8641a2335bae39a

Contents?: true

Size: 272 Bytes

Versions: 16

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

module Nanoc::Int
  class InMemDataSource < Nanoc::DataSource
    attr_reader :items
    attr_reader :layouts

    def initialize(items, layouts)
      super({}, '/', '/', {})

      @items = items
      @layouts = layouts
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
nanoc-4.8.10 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.8.9 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.8.8 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.8.7 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.8.6 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.8.5 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.8.4 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.8.3 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.8.2 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.8.1 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.8.0 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.7.14 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.7.13 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.7.12 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.7.11 lib/nanoc/base/repos/in_mem_data_source.rb
nanoc-4.7.10 lib/nanoc/base/repos/in_mem_data_source.rb