Okay, people who want to extend Camping apps, how should they write their code?

Because of the many modules/classes in Camping, it can be tiresome if
all developers need to re-create all the same included-hooks:

  module MyExt
    module Helpers; end
    def self.included(mod)
      mod::Helpers.send(:include, Helpers)
    end
  end

What we can do:

* Create some sort of string-eval-API (how ar.rb and mab.rb are implemented now)
* Provide a smarter included-hook that developers can include
* Provide another method which does more funky stuff (see the old
http://equipment.rubyforge.org/)

Other suggestions?

// Magnus Holm
_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to