Class: H2o::Stream

Inherits:
Array show all
Defined in:
lib/h2o/datatype.rb

Instance Method Summary collapse

Instance Method Details

#<<(item) ⇒ Object



3
4
5
# File 'lib/h2o/datatype.rb', line 3

def << (item)
  unshift item.to_s
end

#closeObject



7
8
9
# File 'lib/h2o/datatype.rb', line 7

def close
  reverse!
end