Sha256: 37be18f5bd537143a3ad403c862176309c64642c8473c2c460e2e847c515cb21
Contents?: true
Size: 424 Bytes
Versions: 8
Compression:
Stored size: 424 Bytes
Contents
module SandthornDriverSequel module EventStoreContext attr_reader :context def events_table_name with_context_if_exists :events end def aggregates_table_name with_context_if_exists :aggregates end def snapshots_table_name with_context_if_exists :snapshots end def with_context_if_exists name name = "#{context}_#{name}".to_sym if context name end end end
Version data entries
8 entries across 8 versions & 1 rubygems