On 4/6/06, Austin Ziegler <halostatue / gmail.com> wrote:> On 4/6/06, Yukihiro Matsumoto <matz / ruby-lang.org> wrote:> > In message "Re: un_include and un_extend"> > on Wed, 5 Apr 2006 09:03:47 +0900, "itsme213" <itsme213 / hotmail.com> writes:> >| Thanks. Will 2.0 allow this?> > No plan. Currently I have no reason to allow it.>> I'd love to change your mind about that. One reason is> Transaction::Simple. My preferred use of Transaction::Simple will not> be including it into a class, but extending an object with it like so:>> foo = "mystring"> Transaction::Simple.start(foo) do |t_foo|> t_foo.gsub!(/my/, "your")> t_foo.rewind_transaction> t_foo.gsub!(/string/, "test")> end> t_foo.start_transaction # I want *this* to throw an exception. Er. This last should be: foo # contains "mytest" foo.start_transaction # this should throw an exception -austin--Austin Ziegler * halostatue / gmail.com * Alternate: austin / halostatue.ca