Sha256: 34b9679f29bf76752f3a9dc2c71cb2d19519b8a1c1213176b92e5d0a298cd80d
Contents?: true
Size: 295 Bytes
Versions: 7
Compression:
Stored size: 295 Bytes
Contents
# frozen_string_literal: true # @api private class Phlex::Context def initialize @target = +"" end attr_accessor :target def with_target(new_target) original_target = @target begin @target = new_target yield ensure @target = original_target end new_target end end
Version data entries
7 entries across 7 versions & 1 rubygems