Sha256: 95b2d6ed3db4dfb03ba318d3ee4d122565a1fc7d6e66c3c133095f81f2daff58

Contents?: true

Size: 535 Bytes

Versions: 3

Compression:

Stored size: 535 Bytes

Contents

require 'logger'

##
# This module provides release collection management
module Menagerie
  class << self
    ##
    # Insert a helper .new() method for creating a new Collection object

    def new(*args)
      self::Collection.new(*args)
    end

    def get_logger(verbose = true)
      logger = Logger.new(STDOUT)
      logger.level = verbose ? Logger::DEBUG : Logger::WARN
      logger.progname = 'menagerie'
      logger
    end
  end
end

require 'menagerie/artifact'
require 'menagerie/release'
require 'menagerie/collection'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
menagerie-1.1.1 lib/menagerie.rb
menagerie-1.1.0 lib/menagerie.rb
menagerie-1.0.0 lib/menagerie.rb