class PluginPack

Attributes

author[RW]
description[RW]
email[RW]
name[R]
plugins[R]
website[RW]

Public Class Methods

new(name) click to toggle source
# File lib/commands/plugin/plugin_pack.rb, line 8
def initialize(name)
  @name = name
  @plugins = []
  @description = ''
  @author = ''
  @email = ''
  @website = ''
end

Public Instance Methods

add_plugin(name, source) click to toggle source
# File lib/commands/plugin/plugin_pack.rb, line 17
def add_plugin(name, source)
  @plugins << Plugin.new(source, name)
end