Sha256: 96f951935d3331fdc5c0a6734dc9c3cb466b5dab4c5acb5e637db6a94838befe
Contents?: true
Size: 909 Bytes
Versions: 1
Compression:
Stored size: 909 Bytes
Contents
require "ontomde-core" #module Mmtk_Profil::FT2006_GesCli module Mrdf_Resource def disp return "" end end module Mkb_Client def disp return <<FIN *************************************************** ** Bonjour civ:#{kb_civilite} ** nom:#{kb_nom} ** prenom:#{kb_prenom} FIN end end module Mkb_ClientFidelise def disp super+<<FIN ** Vous avez:#{kb_nombrePointDeFidelite} points ! FIN end end module Mkb_ClientNonFidelise def disp super+<<FIN ** Vous ne beneficiez pas ENCORE de notre programme de fidelisation. FIN end end #end DATADIR=File.dirname(__FILE__) @@model=Crdf_Model.new @@model.loadMetaModelFromFile("#{DATADIR}/etatCivil.rdfs",true) @@model.loadModelFromFile("#{DATADIR}/etatCivil.rdf",true) puts "+++++++++++++++++++++++++++++++++" @@model.each { |k,c| print c.disp } puts "++++++++++++++++++++"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ontomde-core-1.0.2 | test/protege/test_demo.rb |