Sha256: a7f3b9ab3844d24f29a4b2e178e9c255d1b618fdaadeb4241b3b7e8cab56b3f1

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 Bytes

Contents

require 'singleton'

module Sparrow
  module Strategies
    class DefaultJsonFormatStrategy
      include Singleton

      def match?(input)
        true
      end

      def convert(input)
        input.to_s
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cp-sparrow-0.0.12 lib/sparrow/strategies/json_format_strategies/default_json_format_strategy.rb
cp-sparrow-0.0.11 lib/sparrow/strategies/json_format_strategies/default_json_format_strategy.rb