Sha256: a1d018fd801719c4b1698c6ff29ce2f4b1262459fa34c971d17520193ff25a4f
Contents?: true
Size: 585 Bytes
Versions: 4
Compression:
Stored size: 585 Bytes
Contents
require "slate/version" require "slate/client" require "slate/target" require "slate/graph" require "slate/calculation" require "slate/parser" require "slate/calculation/mean" require "slate/calculation/last" module Slate # Public: Configures a new Client instance. # # Yields the Client instance to configure. # # Examples # # Slate.configure do |config| # config.endpoint = "http://example.com" # end # # => Slate::Client # # Returns a configured Client instance. def self.configure client = Client.new yield client client end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
slate-1.0.3 | lib/slate.rb |
slate-1.0.2 | lib/slate.rb |
slate-1.0.1 | lib/slate.rb |
slate-1.0.0 | lib/slate.rb |