Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Foo
- def initialize out=STDOUT
- $stdout = out
- end
- end
- Foo.new(StringIO.new)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement