require 'singleton'

module Twitter
  class NullObject < BasicObject
    include ::Singleton

    def nil?
      true
    end

    def method_missing(method_name, *args, &block)
      self
    end

    def respond_to_missing?(method_name, include_private=false)
      true
    end

  end
end

require 'singleton'

module Twitter
  class NullObject
    include Singleton

    def nil?
      true
    end

    def method_missing(*args, &block)
      self
    end

    def respond_to_missing?(method_name, include_private=false)
      true
    end

  end
end

Revert "NullObject inherits from BasicObject"
Revert "NullObject inherits from BasicObject"

This reverts commit 88bdab8a7737e2fe2af1dc862dd73785537f7220.
