Sha256: 8df259a797e85b38c2d31e2c5243c5e5b0e80e25aff1a02ce01291a86d4a969c

Contents?: true

Size: 289 Bytes

Versions: 8

Compression:

Stored size: 289 Bytes

Contents

module Cassanity
  module ResultTransformers
    class Mirror

      # Internal: Returns whatever result is passed to it. This is used as the
      # default result transformer when a command does not have one.
      def call(result, args = nil)
        result
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cassanity-0.6.0 lib/cassanity/result_transformers/mirror.rb
cassanity-0.6.0.beta5 lib/cassanity/result_transformers/mirror.rb
cassanity-0.6.0.beta4 lib/cassanity/result_transformers/mirror.rb
cassanity-0.6.0.beta3 lib/cassanity/result_transformers/mirror.rb
cassanity-0.6.0.beta2 lib/cassanity/result_transformers/mirror.rb
cassanity-0.6.0.beta1 lib/cassanity/result_transformers/mirror.rb
cassanity-0.5.1 lib/cassanity/result_transformers/mirror.rb
cassanity-0.5.0 lib/cassanity/result_transformers/mirror.rb