Method: StringInput#initialize
- Defined in:
- lib/extensions/crypt/crypt/stringio.rb
#initialize(str) ⇒ StringInput
Returns a new instance of StringInput.
56 57 58 59 60 61 |
# File 'lib/extensions/crypt/crypt/stringio.rb', line 56 def initialize( str ) @src = str @pos = 0 @closed = false @lineno = 0 end |