lib/zen/package/base.rb in zen-0.2.7 vs lib/zen/package/base.rb in zen-0.2.8

- old
+ new

@@ -1,11 +1,12 @@ #:nodoc: module Zen #:nodoc: module Package ## - # Base class used to store the data about packages such as the name, directory, etc. + # Base class used to store the data about packages such as the name, + # directory, etc. # # @author Yorick Peterse # @since 0.2.5 # class Base @@ -30,12 +31,12 @@ attr_accessor :menu # Path to the directory containing all migrations attr_accessor :migration_dir - # Array containing all controllers for the package. These classes will be used - # by the ACL system. + # Array containing all controllers for the package. These classes will be + # used by the ACL system. attr_accessor :controllers ## # Validates all the attributes. # @@ -54,9 +55,8 @@ # Check if the package hasn't been registered yet if ::Zen::Package::Registered.key?(name.to_sym) raise(::Zen::ValidationError, "The package #{name} already exists.") end end - - end - end -end + end # Base + end # Package +end # Zen