Subject: [sup-devel] [issue55] undefined method `>=' for true:TrueClass

From: anonymous <[email-masked]>
Date: Thu, 28 Jan 2010 08:02:43 +0000

New submission from anonymous:

Source#current_offset= returns true instead of the set value, causing
Source#done? to blow up on (self.cur_offset ||= start_offset) >= end_offset

The fix is to swap the two lines in Source#current_offset= so that it returns
the value:

  def cur_offset= o
    @dirty = true
    @cur_offset = o
  end

As it is in 0.10.2 it returns the value for @dirty instead

----------
files: exception-log.txt
messages: 139
nosy: anonymous
priority: bug
ruby_version: 1.9.1
status: unread
sup_version: 0.10.2
title: undefined method `>=' for true:TrueClass

_________________________________________
Sup issue tracker <[email-masked]>
<http://masanjin.net/sup-bugs/issue55>
_________________________________________

_______________________________________________
Sup-devel mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-devel