General

Profile

RobertDober (Robert Dober)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 4 4

Activity

03/08/2009

02:38 AM Ruby Bug #1243: 1 is prime
=begin
On Fri, Mar 6, 2009 at 8:42 PM, Jacob Fugal <lukfugl@gmail.com> wrote:
> I have a hard time imagining a situation where asking if a negative
> number is prime would be necessary. Code the cares about prime numbers
> almost by ...
RobertDober (Robert Dober)

03/06/2009

11:12 PM Ruby Bug #1243: 1 is prime
=begin
On Wed, Mar 4, 2009 at 9:15 AM, Yugui (Yuki Sonoda) <yugui@yugui.jp> wrote:
> On 3/4/09 1:40 AM, Dave B wrote:
>> +    value = -value if value < 0  <--- NOT required ?
>> +    return false if value < 2
>>
>> I think your neg...
RobertDober (Robert Dober)

03/03/2009

09:23 PM Ruby Bug #1242 (Rejected): Segfault when requiring wxruby2.0.0
=begin
Ruby1.9.1p0 segfaults while requiring wxruby2.0.0
=end
RobertDober (Robert Dober)
09:06 PM Ruby Bug #1219: ostruct freeze still not stable
=begin
Thank you, very nice solution.

On Fri, Feb 27, 2009 at 6:26 AM, Nobuyoshi Nakada <redmine@ruby-lang.org> wrote:
> Issue #1219 has been updated by Nobuyoshi Nakada.
>
> Status changed from Open to Closed
> % Done changed fr...
RobertDober (Robert Dober)

02/27/2009

06:46 AM Ruby Bug #1219: ostruct freeze still not stable
=begin
Forget this patch it is a pain, and way to complicated. Your approach was fine, all we have to do is the following:

class OpenStruct
def freeze
@frozen ||= true
super
end
end

and now, in the write ...
RobertDober (Robert Dober)
06:11 AM Ruby Bug #1219 (Closed): ostruct freeze still not stable
=begin
Freezing an ostruct still does not inhibit modification as can be seen in the attached test file and in the following example

o = OpenStruct::new :a => 42
OpenStruct.module_eval do def frozen?; nil end end
o.freeze
o.a...
RobertDober (Robert Dober)

02/21/2009

04:57 AM Ruby Bug #1186 (Rejected): :method_missing not shown as an instance_method of BasicObject
=begin
Although BasicObject seems to implement :method_missing...
------------------------------------------------------------------------
514/15 > ruby -v -e 'p BasicObject.instance_method( :method_missing )'
ruby 1.9.1p0 (2009-0...
RobertDober (Robert Dober)
04:50 AM Ruby Bug #1185 (Closed): Segfault after removal of method_missing
=begin
After removing method_missing from BasicObject, ruby bombs on a missing method
-----------------------------------------------------------------------------------
ruby -v -e 'class BasicObject; remove_method :method_missing e...
RobertDober (Robert Dober)

Also available in: Atom