Sha256: ca898c2bcddaebae36548eeac34cf092015c4619d3ab99033e2622620a5a002d

Contents?: true

Size: 441 Bytes

Versions: 1

Compression:

Stored size: 441 Bytes

Contents

require 'rubykhan/client'

module Rubykhan
  class << self
    # attr_accessor :key
    def configure
      yield self
    end

    def new
    end

    def method_missing(method, *args, &block)
      return super unless new.respond_to?(method)
      new.send(method, *args, &block)
    end

    def respond_to?(method, include_private=false)
      new.respond_to?(method, include_private) || super(method, include_private)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubykhan-0.0.1 lib/rubykhan.rb