Hi,

I'm a newbie in Ruby and created this module:

require 'couchrest_model'
module RdfModelModule

  class RdfModel < CouchRest::Model::Base
    def rdf_schema
      p 'hello'
    end
  end

end


When I create a new class based no this class like this:

require 'rdfmodelmodule'
class Mine < RdfModelModule::RdfModel
  rdf_schema
end

I'm getting this error:
NoMethodError: undefined method `rdf_schema' for Mine:Class


This is a bit confusing! Why is rdf_schema not inherit by the 'Mine'
class??

Cheers,
Manuel
-- 
Posted via http://www.ruby-forum.com/.