Sha256: e81566eb2623a9e5d627d7ba4b39e6bb9440d4c714a2de098d33524c0da63a7c
Contents?: true
Size: 366 Bytes
Versions: 1
Compression:
Stored size: 366 Bytes
Contents
# frozen_string_literal: true module Grumlin module Middlewares class SerializeToBytecode < Middleware def call(env) env[:bytecode] = StepsSerializers::Bytecode.new(env[:steps_without_shortcuts], no_return: !env[:need_results]).serialize @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_bytecode.rb |