class Juggalo::Portlet
Attributes
id[R]
location[R]
opts[R]
type[R]
Public Class Methods
new(opts, loader)
click to toggle source
# File lib/juggalo/portlet.rb, line 5 def initialize(opts, loader) @opts = opts @loader = loader @location = opts["location"] end
Public Instance Methods
present()
click to toggle source
# File lib/juggalo/portlet.rb, line 11 def present @loader.load opts end