[Nitro] Deprecating class_inherit.rb

TRANS transfire at gmail.com
Sun Jun 11 11:04:04 EDT 2006


Hey NCT,

I will be deprecating class_inherit.rb for the final release of
Facets 1.4. Presenlty (an I hhad forgotten that I had done this
actually) classmethods.rb is completely compatibile in functionality,
all
you have to do is replace calls to 'class_inherit' with 'class_methods'.

But I am debating switching the terminology to *extensible*.

  module X
    extensible do
      ...
    end
  end

and

  module X
    module Extensible
      ...
    end
  end

versus

  module X
    class_methods do
      ...
    end
  end

and

  module X
    module ClassMethods
      ...
    end
  end

Which do you all prefer?

T.



More information about the Nitro-general mailing list