Sha256: 904f8836db13330cac574b9d2354ab67d5be52651f16f531774faee23f966a77
Contents?: true
Size: 522 Bytes
Versions: 3
Compression:
Stored size: 522 Bytes
Contents
# # @author Kristian Mandrup # # Marshallers can be used by Storages to handle conversion from # between a role list of symbols and the data format stored in the datastore # One example is the Bitmask marshaller, which converts between an Integer and a role list # One could imagine other custom marshallers, such as using encrypted strings etc. # module Troles::Common module Marshaller autoload :Generic, 'troles/common/marshaller/generic' autoload :Bitmask, 'troles/common/marshaller/bitmask' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
troles-0.5.2 | lib/troles/common/marshaller.rb |
troles-0.5.1 | lib/troles/common/marshaller.rb |
troles-0.5.0 | lib/troles/common/marshaller.rb |