Sha256: 4dfa75e0647d5b4dda8a210280ef8da34977251d378b098204f3e82c2e070091
Contents?: true
Size: 234 Bytes
Versions: 1
Compression:
Stored size: 234 Bytes
Contents
# frozen_string_literal: true module Grumlin module Middlewares class CastResults < Middleware def call(env) env[:parsed_results] = @app.call(env).flat_map { |item| Typing.cast(item) } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grumlin-0.23.0 | lib/grumlin/middlewares/cast_results.rb |