Sha256: b82266643a0d852577290e19326def981aca385a7224e2d82e18418102519c44

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

##
# Support dynamic loading of modules at runtime
module LogCabin
  class << self
    ##
    # Insert a helper .new() method for creating a new Cache object

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

  ##
  # Empty module for namespacing dynamic modules
  module Modules
  end
end

require 'logcabin/collection'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
logcabin-0.0.3 lib/logcabin.rb
logcabin-0.0.1 lib/logcabin.rb