Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #549 from modcloth/mbh/IO#puts-Kernel#puts
Moving IO#puts into lib-topaz (untag specs)
- Loading branch information
Showing
with
14 additions
and 30 deletions.
- +14 −0 lib-topaz/io.rb
- +0 −11 spec/tags/core/io/puts_tags.txt
- +0 −8 spec/tags/core/kernel/puts_tags.txt
- +0 −11 topaz/objects/ioobject.py
@@ -1,13 +1,2 @@ | ||
fails:IO#puts writes just a newline when given no args | ||
fails:IO#puts writes just a newline when given just a newline | ||
fails:IO#puts writes empty string with a newline when given nil as an arg | ||
fails:IO#puts writes empty string with a newline when when given nil as multiple args | ||
fails:IO#puts calls to_s before writing non-string objects | ||
fails:IO#puts writes each arg if given several | ||
fails:IO#puts flattens a nested array before writing it | ||
fails:IO#puts writes nothing for an empty array | ||
fails:IO#puts writes [...] for a recursive array arg | ||
fails:IO#puts writes a newline after objects that do not end in newlines | ||
fails:IO#puts does not write a newline after objects that end in newlines | ||
fails:IO#puts ignores the $/ separator global | ||
fails:IO#puts raises IOError on closed stream |
@@ -1,10 +1,2 @@ | ||
fails:Kernel#puts is a private method | ||
fails:Kernel#puts writes just a newline when given no args | ||
fails:Kernel#puts writes a newline when given nil as an arg | ||
fails:Kernel#puts calls to_s before writing non-string objects | ||
fails:Kernel#puts writes each arg if given several | ||
fails:Kernel#puts flattens a nested array before writing it | ||
fails:Kernel#puts writes [...] for a recursive array arg | ||
fails:Kernel#puts writes a newline after objects that do not end in newlines | ||
fails:Kernel#puts does not write a newline after objects that end in newlines | ||
fails:Kernel#puts ignores the $/ separator global |