lib/ragweed/sbuf.rb in tduehr-ragweed-0.1.7 vs lib/ragweed/sbuf.rb in tduehr-ragweed-0.1.7.1
- old
+ new
@@ -136,10 +136,10 @@
def ==(b); to_s == b.to_s; end
def reset; @position = 0; end
def eof?; @position >= length; end
def clear!; @content = "" and reset; end
def remainder(n = position); @content[n..-1] || ""; end
- def remainder_as_buffer(t=Sbuf); t.new(:content => remainder); end
+ def remainder_as_buffer(t=Ragweed::Sbuf); t.new(:content => remainder); end
def self.szl64; 8; end
def self.szb64; 8; end
def self.szn64; 8; end