Method: StringInput#each

Defined in:
lib/extensions/crypt/crypt/stringio.rb

#each(&block) ⇒ Object



117
118
119
120
121
122
123
124
# File 'lib/extensions/crypt/crypt/stringio.rb', line 117

def each( &block )
  stream_check!
  begin
    @src.each(&block)
  ensure
    @pos = 0
  end
end