Sha256: ae3a1c99e8a5ae2c1083da8d0be7dd42ecd2a30965fbc23ea8f889b09a1b3bed
Contents?: true
Size: 810 Bytes
Versions: 1
Compression:
Stored size: 810 Bytes
Contents
require 'jinx/resource' require 'jinx/json/serializer' require 'caruby/migration/migratable' require 'caruby/database/persistable' module CaRuby # Augments +Jinx::Resource+ to inject {Propertied} persistence into introspected classes. # A CaRuby application domain module includes +CaRuby::Resource+ and extends +CaRuby::Importer+. # # @example # # The application domain module. # module Domain # # Add persistence to the domain instances. # include CaRuby::Resource # # Add introspection to this domain module. # extend Jinx::Importer # # Add persistence to the domain classes. # @metadata_module = CaRuby::Metadata # end module Resource include CaRuby::Migratable, CaRuby::Persistable, Jinx::JSON::Serializer, Jinx::Resource end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
caruby-core-2.1.1 | lib/caruby/resource.rb |