Module: Menagerie
- Defined in:
- lib/menagerie.rb,
lib/menagerie/release.rb,
lib/menagerie/artifact.rb,
lib/menagerie/collection.rb
Overview
This module provides release collection management
Defined Under Namespace
Classes: Artifact, Collection, Release
Class Method Summary collapse
- .get_logger(verbose = true) ⇒ Object
-
.new(*args) ⇒ Object
Insert a helper .new() method for creating a new Collection object.
Class Method Details
.get_logger(verbose = true) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/menagerie.rb', line 14 def get_logger(verbose = true) logger = Logger.new(STDOUT) logger.level = verbose ? Logger::DEBUG : Logger::WARN logger.progname = 'menagerie' logger end |
.new(*args) ⇒ Object
Insert a helper .new() method for creating a new Collection object
10 11 12 |
# File 'lib/menagerie.rb', line 10 def new(*args) self::Collection.new(*args) end |