Method: Webby::Resources::MetaFile#read
- Defined in:
- lib/webby/resources/meta_file.rb
#read ⇒ Object
Returns the entire contents of the IO stream exluding any meta-data found at the beginning of the stream.
76 77 78 79 80 81 |
# File 'lib/webby/resources/meta_file.rb', line 76 def read count = @io.seek 0 count.times {@io.gets} unless count.nil? @io.read end |