class Ms::Data::LazyString
LazyString
is a LazyIO
initialized from a string, which is converted into a StringIO.
Public Class Methods
new(string, unpack_format=NETWORK_FLOAT, compression=false, decode_format=BASE_64)
click to toggle source
Calls superclass method
Ms::Data::LazyIO::new
# File lib/ms/data/lazy_string.rb, line 10 def initialize(string, unpack_format=NETWORK_FLOAT, compression=false, decode_format=BASE_64) super(StringIO.new(string), 0, string.length, unpack_format, compression, decode_format) end