Sha256: 50451a17f9a9621070f5cb2592934729cb2da375a260135faab0d7be9c431bb4

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

require 'juggalo/page'
require 'juggalo/portlet'
require 'juggalo/portlet/factory'

module Juggalo
  class Page::Loader
    class Base
      def components; raise NotImplementedError; end

      def create_component_from(config)
        Portlet::Factory.create(config)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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