Sha256: f8373113772e9ed3725d86f727331a9eb2dd0e7aca2dd6d3c978efff7c87f414

Contents?: true

Size: 240 Bytes

Versions: 25

Compression:

Stored size: 240 Bytes

Contents

module Speckle
  module List
    class ExtensionTransformer
      def initialize(extension)
        @extension = extension
      end

      def run(item)
        item = item.ext(@extension)
        return [item]
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
speckle-0.2.0 lib/speckle/list/extension_transformer.rb
speckle-0.1.31 lib/speckle/list/extension_transformer.rb
speckle-0.1.30 lib/speckle/list/extension_transformer.rb
speckle-0.1.29 lib/speckle/list/extension_transformer.rb
speckle-0.1.28 lib/speckle/list/extension_transformer.rb
speckle-0.1.27 lib/speckle/list/extension_transformer.rb
speckle-0.1.26 lib/speckle/list/extension_transformer.rb
speckle-0.1.25 lib/speckle/list/extension_transformer.rb
speckle-0.1.24 lib/speckle/list/extension_transformer.rb
speckle-0.1.23 lib/speckle/list/extension_transformer.rb
speckle-0.1.22 lib/speckle/list/extension_transformer.rb
speckle-0.1.21 lib/speckle/list/extension_transformer.rb
speckle-0.1.20 lib/speckle/list/extension_transformer.rb
speckle-0.1.19 lib/speckle/list/extension_transformer.rb
speckle-0.1.18 lib/speckle/list/extension_transformer.rb
speckle-0.1.17 lib/speckle/list/extension_transformer.rb
speckle-0.1.16 lib/speckle/list/extension_transformer.rb
speckle-0.1.15 lib/speckle/list/extension_transformer.rb
speckle-0.1.14 lib/speckle/list/extension_transformer.rb
speckle-0.1.13 lib/speckle/list/extension_transformer.rb