Sha256: 5c6dfab1a2008f3fb75ebf32c5970df46127007b98b43fc8346dd8960aed7eb0

Contents?: true

Size: 235 Bytes

Versions: 2

Compression:

Stored size: 235 Bytes

Contents

require File.dirname(__FILE__) + '/key_normalizer'

module Sparrow
  module Strategies
    class UnderscoreKey
      include KeyNormalizer

      def transform_key(key)
        normalize_key(key).underscore
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cp-sparrow-0.0.12 lib/sparrow/strategies/key_transformation/underscore_key.rb
cp-sparrow-0.0.11 lib/sparrow/strategies/key_transformation/underscore_key.rb