Sha256: 2d9185bc0245765ad6e25d167a053ecc979cd1fd6ac34f5680d0b6b0f4da465f

Contents?: true

Size: 251 Bytes

Versions: 12

Compression:

Stored size: 251 Bytes

Contents

module ModernTimes
  module MarshalStrategy
    module String
      extend self

      def marshal_type
        :text
      end

      def marshal(object)
        object.to_s
      end

      def unmarshal(msg)
        msg
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
modern_times-0.2.11 lib/modern_times/marshal_strategy/string.rb
modern_times-0.2.10 lib/modern_times/marshal_strategy/string.rb
modern_times-0.2.9 lib/modern_times/marshal_strategy/string.rb
modern_times-0.2.8 lib/modern_times/marshal_strategy/string.rb
modern_times-0.2.7 lib/modern_times/marshal_strategy/string.rb
modern_times-0.2.6 lib/modern_times/marshal_strategy/string.rb
modern_times-0.2.5 lib/modern_times/marshal_strategy/string.rb
modern_times-0.2.4 lib/modern_times/marshal_strategy/string.rb
modern_times-0.2.3 lib/modern_times/marshal_strategy/string.rb
modern_times-0.2.2 lib/modern_times/marshal_strategy/string.rb
modern_times-0.2.1 lib/modern_times/marshal_strategy/string.rb
modern_times-0.2.0 lib/modern_times/marshal_strategy/string.rb