Skip to content

Commit

Permalink
Add RangesIO#<< alias to write.
Browse files Browse the repository at this point in the history
git-svn-id: https://ruby-ole.googlecode.com/svn/trunk@63 f297d60c-f930-0410-b1c6-9ffd80c20a0c
  • Loading branch information
aquasync committed Oct 25, 2008
1 parent 48314cd commit 88de966
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ole/ranges_io.rb
Expand Up @@ -192,6 +192,8 @@ def write data
end
data_pos
end

alias << write

# i can wrap it in a buffered io stream that
# provides gets, and appropriately handle pos,
Expand Down

0 comments on commit 88de966

Please sign in to comment.