module RubyStackoverflow

Constants

VERSION

Public Class Methods

client() click to toggle source
# File lib/ruby-stackoverflow.rb, line 10
def client
  @client ||= RubyStackoverflow::Client.new
end
respond_to?(method_name, include_private=false) click to toggle source

@private

Calls superclass method
# File lib/ruby-stackoverflow.rb, line 17
def respond_to?(method_name, include_private=false); client.respond_to?(method_name, include_private) || super; end
respond_to_missing?(method_name, include_private=false) click to toggle source

@private

# File lib/ruby-stackoverflow.rb, line 15
def respond_to_missing?(method_name, include_private=false); client.respond_to?(method_name, include_private); end

Private Class Methods

method_missing(method_name, *args, &block) click to toggle source
Calls superclass method
# File lib/ruby-stackoverflow.rb, line 21
def method_missing(method_name, *args, &block)
  return super unless client.respond_to?(method_name)
  client.send(method_name, *args, &block)
end