lib/plugins/dependencies.rb in rsence-2.0.0.10.pre vs lib/plugins/dependencies.rb in rsence-2.0.0.11
- old
+ new
@@ -4,10 +4,11 @@
#
# You should have received a copy of the GNU General Public License along
# with this software package. If not, contact licensing@riassence.com
##
+
module RSence
# = Description:
# Generic dependency calculator. Used by PluginManager.
# = Usage:
@@ -124,10 +125,10 @@
alias depends_on deps_on
# List of categories
attr_reader :categories
- # Adds the gategory +name+.
+ # Adds the category +name+.
def add_category( name )
@categories.push( name ) unless @categories.include?( name )
end
# Deletes the category +name+, but doesn't dissolve its dependencies.