forked from bigfix/erector
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inline with_output_buffer and always return a RawString from Output#t…
…o_s.
- Loading branch information
John Firebaugh
committed
Jun 10, 2010
1 parent
3d5483c
commit e31f662
Showing
2 changed files
with
9 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ def placeholder | |
end | ||
|
||
def to_s | ||
buffer.to_s | ||
RawString.new(buffer.to_s) | ||
end | ||
|
||
def to_a | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters