18 Dec
2010
18 Dec
'10
11:36 a.m.
#1057: Redefine of ! is ignored --------------------------------+------------------------------------------- Reporter: mjkaelbling@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: MacRuby 0.8 Component: MacRuby | Keywords: ! def redefine ignored --------------------------------+------------------------------------------- {{{ class String ; def ! ; 'bang!' end end !"x" # => warning: string literal in condition class Time ; def ! ; 'bang!' end end !Time.now # => false }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1057> MacRuby <http://macruby.org/>