Sha256: 7893eb3ad7ae04ec36be155123e8ae090231eb6a0414dafb103517f1253e62fe
Contents?: true
Size: 710 Bytes
Versions: 4
Compression:
Stored size: 710 Bytes
Contents
require File.join_from_here('..', 'utils', 'gem_manager.rb') module Mack module Portlet # :nodoc: # Used to manage the Portlets associated with the application. class Manager include Singleton attr_accessor :required_portlet_list def initialize # :nodoc: @required_portlet_list = [] end # Adds a Portlet to the application. This takes the same parameters as # Mack::Utils::GemManager.instance.add def add(name, options = {}) @required_portlet_list << name @required_portlet_list.uniq! Mack::Utils::GemManager.instance.add(name, options) end end # Manager end # Portlet end # Mack
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mack-0.8.1 | lib/mack/portlets/manager.rb |
mack-0.8.2 | lib/mack/portlets/manager.rb |
mack-0.8.3 | lib/mack/portlets/manager.rb |
mack-0.8.3.1 | lib/mack/portlets/manager.rb |