Method: StringInput#pos

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

#posObject Also known as: tell



83
84
85
86
# File 'lib/extensions/crypt/crypt/stringio.rb', line 83

def pos
  stream_check!
  [@pos, @src.size].min
end