Sha256: 8b50a5983b4e92a99874829dac60883f9a97b90d15a36cb1bcddb92ab2e6482c

Contents?: true

Size: 228 Bytes

Versions: 1

Compression:

Stored size: 228 Bytes

Contents

# frozen_string_literal: true

module Grumlin
  module Middlewares
    class SerializeToSteps < Middleware
      def call(env)
        env[:steps] = Steps.from(env[:traversal])
        @app.call(env)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grumlin-0.23.0 lib/grumlin/middlewares/serialize_to_steps.rb