Sha256: b2b77c3afab20aa59d4cd783923e9c5c7f09f1b1632b255d84851736dc883a3a

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

module Juggalo
  class Portlet
    attr_reader :id, :type, :opts, :location

    def initialize(opts, loader)
      @opts     = opts
      @loader   = loader
      @location = opts["location"]
    end

    def present
      @loader.load opts
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
juggalo-0.0.2 lib/juggalo/portlet.rb