module Etcd
Public Class Methods
client(opts = {}) { |config| ... }
click to toggle source
# File lib/etcd.rb, line 4 def self.client(opts = {}) @client ||= MockEtcd::Client.new(opts) do |config| yield config if block_given? end end