Sha256: 43a99ae6165a831496e64a3e571691c8cf445bb596f6db47919b9c0b80f7b434

Contents?: true

Size: 241 Bytes

Versions: 2

Compression:

Stored size: 241 Bytes

Contents

require 'juggalo/page'
require 'juggalo/page/loader/yaml'

module Juggalo
  class Page::Loader
    attr_reader :adapter

    def initialize(adapter)
      @adapter = adapter
    end

    def load
      @adapter.components
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
juggalo-0.0.2 lib/juggalo/page/loader.rb
juggalo-0.0.1 lib/juggalo/page/loader.rb