On 12 Nov, 17:02, furtive.cl... / gmail.com wrote:
> Bio = Module.new
> Bio::Graphics = Module.new
> Bio::Graphics::Panel = Class.new
> Bio::Graphics::Panel::Track = Class.new
> Bio::Graphics::Panel::Track::Feature = Class.new
>
> class Bio::Graphics::Panel::Track::Feature
>    def foo
>       puts "foo"
>    end
> end
>
> Bio::Graphics::Panel::Track::Feature.new.foo  # => "foo"

Thanks. It looks like this does the trick.

jan.