Sha256: fd54783a3e5bacbc223326553f92f9e1ff2ac09c720de2287610612524250085

Contents?: true

Size: 190 Bytes

Versions: 3

Compression:

Stored size: 190 Bytes

Contents

module Sojourn
  module Serializers
    class Symbol
      def self.load(string)
        string.to_sym
      end

      def self.dump(symbol)
        symbol.to_s
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sojourn-1.0.0.pre2 lib/sojourn/serializers/symbol.rb
sojourn-1.0.0.pre lib/sojourn/serializers/symbol.rb
sojourn-0.0.7 lib/sojourn/serializers/symbol.rb