Sha256: c450c4f6aebbd0105dbcdeacc9c7f91a2f0b614cc6f2423af0fcb2d38eb0eee4

Contents?: true

Size: 181 Bytes

Versions: 3

Compression:

Stored size: 181 Bytes

Contents

module Chronicle
  module Serialization
    class HashSerializer < Chronicle::Serialization::Serializer
      def serializable_hash
        @record.to_h
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chronicle-core-0.3.2 lib/chronicle/serialization/hash_serializer.rb
chronicle-core-0.3.1 lib/chronicle/serialization/hash_serializer.rb
chronicle-core-0.3.0 lib/chronicle/serialization/hash_serializer.rb