Sha256: 7e4e24c696552c21f3813fd08971f5c5750ac8b7e09d846059345010aec56b7d

Contents?: true

Size: 272 Bytes

Versions: 4

Compression:

Stored size: 272 Bytes

Contents

module Hari
  class Entity
    module Serialization
      module String

        def self.serialize(value, options = {})
          value.to_s if value
        end

        def self.desserialize(value, options = {})
          value
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hari-0.0.5 lib/hari/entity/serialization/string.rb
hari-0.0.4 lib/hari/entity/serialization/string.rb
hari-0.0.3 lib/hari/entity/serialization/string.rb
hari-0.0.1 lib/hari/entity/serialization/string.rb