module Cuprum::Collections

A data abstraction layer based on the Cuprum library.

Constants

VERSION

@return [String] the current version of the gem.

Public Class Methods

gem_path() click to toggle source

@return [String] the absolute path to the gem directory.

# File lib/cuprum/collections.rb, line 14
def self.gem_path
  sep     = File::SEPARATOR
  pattern = /#{sep}lib#{sep}cuprum#{sep}?\z/

  __dir__.sub(pattern, '')
end
version() click to toggle source

@return [String] The current version of the gem.

# File lib/cuprum/collections.rb, line 22
def self.version
  VERSION
end