Sha256: 1e0295a1e8754d78b1f5def9e1fc873ef374a1ac1aba3e694453e5a7282178eb

Contents?: true

Size: 192 Bytes

Versions: 3

Compression:

Stored size: 192 Bytes

Contents

module Stages
  class HashLookup < Stage
    def initialize(things)
      @things = things
      super()
    end
    
    def handle_value(value)
      output @things[value]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stages-0.1.1 lib/stages/hash_lookup.rb
stages-0.1.0 lib/stages/hash_lookup.rb
stages-0.0.1 lib/stages/hash_lookup.rb