mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
d47cd66f7d
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668942 13f79535-47bb-0310-9956-ffa450edef68
18 lines
296 B
Ruby
18 lines
296 B
Ruby
require 'rubygems'
|
|
require 'spec'
|
|
|
|
# turn on deprecation so we can test it
|
|
module Thrift
|
|
DEPRECATION = true
|
|
end
|
|
|
|
require File.dirname(__FILE__) + '/../lib/thrift'
|
|
|
|
class Object
|
|
# tee is a useful method, so let's let our tests have it
|
|
def tee(&block)
|
|
block.call(self)
|
|
self
|
|
end
|
|
end
|