lib/sup/source.rb in sup-0.0.3 vs lib/sup/source.rb in sup-0.0.4
- old
+ new
@@ -36,10 +36,10 @@
@dirty = false
@broken_msg = nil
end
def broken?; !@broken_msg.nil?; end
- def to_s; @uri; end
+ def to_s; @uri.to_s; end
def seek_to! o; self.cur_offset = o; end
def reset!
return if broken?
begin
seek_to! start_offset