module Sire
Public Class Methods
aggregate(*entity_types)
click to toggle source
# File lib/sire.rb, line 15 def aggregate(*entity_types) Aggregate.define(*entity_types) end
entity(*attributes)
click to toggle source
# File lib/sire.rb, line 7 def entity(*attributes) Entity.define(*attributes) end
relation(*entity_types)
click to toggle source
# File lib/sire.rb, line 11 def relation(*entity_types) Relation.define(*entity_types) end