Sha256: ea6f43c5236bb583590a3810e2a5dc57623ba3a954fa53a5514d501cf57e00f8

Contents?: true

Size: 644 Bytes

Versions: 2

Compression:

Stored size: 644 Bytes

Contents

# frozen_string_literal: true

require 'scale_rb/version'
require 'logger'

# scale codec
require 'monkey_patching'
require 'codec'
require 'portable_codec'

# metadata types, decoding and helpers
require 'metadata'
require 'metadata_v14'

require 'hasher'
require 'storage_helper'

# client
require 'client/rpc'
require 'client/client'

# get registry from config
require 'registry'

module ScaleRb
  class << self
    attr_writer :logger

    def logger
      @logger ||= Logger.new($stdout)
      @logger.level = Logger::INFO
      @logger
    end

    def debug(key, value)
      logger.debug "#{key.rjust(15)}: #{value}"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scale_rb-0.1.1 lib/scale_rb.rb
scale_rb-0.1.0 lib/scale_rb.rb