Sha256: 1b6c7ea4d68489ec45afa98e01e1555799aa368a4dd24a8afc9453dd2542b4f7
Contents?: true
Size: 638 Bytes
Versions: 3
Compression:
Stored size: 638 Bytes
Contents
require 'smartdc/version' require 'smartdc/configure' require 'smartdc/default' require 'smartdc/client' module Smartdc class << self def configure yield Smartdc::Configure end def config Smartdc::Configure end def client(options={}) @client = nil unless options.empty? @client ||= Smartdc::Client.new(options) end def root @root ||= File.expand_path('..', File.dirname(__FILE__)) end def method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end end end Smartdc::Configure.setup
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
smartdc-2.0.2 | lib/smartdc.rb |
smartdc-2.0.1 | lib/smartdc.rb |
smartdc-2.0.0 | lib/smartdc.rb |